About Question enthuware.ocejws.v6.2.318 :
Moderators: Site Manager, fjwalraven
-
- Posts: 21
- Joined: Fri Apr 11, 2014 8:57 pm
- Contact:
About Question enthuware.ocejws.v6.2.318 :
Why the order is Client SH / Client LH in INBOUND message?
In inbound message the order of handlers is inversed not?
In inbound message the order of handlers is inversed not?
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
On an inbound message the SOAPHandlers run before the LogicalHandlers.
The order of the SOAPHandlers is reversed on an incoming message if you have configured more than one SOAPHandler. (but SOAPHandlers still run before the LogicalHandlers.)
The order of the LogicalHandlers is reversed on an incoming message if you have configured more than one LogicalHandler.
Regards,
Frits
The order of the SOAPHandlers is reversed on an incoming message if you have configured more than one SOAPHandler. (but SOAPHandlers still run before the LogicalHandlers.)
The order of the LogicalHandlers is reversed on an incoming message if you have configured more than one LogicalHandler.
Regards,
Frits
-
- Posts: 25
- Joined: Wed Jun 24, 2015 7:26 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
I understand the answer and, i think, the explanation.
But, if by assumption had been SERVER LH's handleMessage() a return false I would have expected:
Client LH(O)- Client SH(O)- Server SH(I)- SERVER LH(I) - Client SH(I) - Client LH(I)
instead i had :
Client LH(O)- Client SH(O)- Server SH(I)- SERVER LH(I) - SERVER SH (O) - Client SH(I) - Client LH(I)
i don't understand well?
But, if by assumption had been SERVER LH's handleMessage() a return false I would have expected:
Client LH(O)- Client SH(O)- Server SH(I)- SERVER LH(I) - Client SH(I) - Client LH(I)
instead i had :
Client LH(O)- Client SH(O)- Server SH(I)- SERVER LH(I) - SERVER SH (O) - Client SH(I) - Client LH(I)
i don't understand well?
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
The sequence is reversed immediately.
Just write the events down like a request-response sequence:
If the problem occurs in Server SH the following will happen:
If the problem occurs in Server LH the following will happen:
Does this make it clearer?
Regards
Frits
Just write the events down like a request-response sequence:
Code: Select all
Client LH -> Client SH -> Server SH -> Server LH ---- (request)
|
Client LH <- Client SH <- Server SH <- Server LH ---- (response)
Code: Select all
Client LH -> Client SH -> Server SH
Client LH <- Client SH <-
Code: Select all
Client LH -> Client SH -> Server SH -> Server LH
Client LH <- Client SH <- Server SH <-
Regards
Frits
-
- Posts: 25
- Joined: Wed Jun 24, 2015 7:26 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
Ok, i just understand
-
- Posts: 18
- Joined: Wed Jan 20, 2016 7:16 pm
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
Hi,
Just to confirm so I understand this:
Suppose configuration file is as follows:
1) SH1
2) SH2
3) LH1
4) LH2
Then would the outbound handler chain ordering be as follows?
LH1, LH2, SH1, SH2
And inbound be
SH2, SH1, LH2, LH1 ?
I make this assumption based on section 9.2.1.2 Handler Ordering of JAX-WS 2.2 docs: "all logical handlers precede all protocol handlers".
Could you please confirm if I am correct with this assumption?
Thanks,
Victor.
Just to confirm so I understand this:
Suppose configuration file is as follows:
1) SH1
2) SH2
3) LH1
4) LH2
Then would the outbound handler chain ordering be as follows?
LH1, LH2, SH1, SH2
And inbound be
SH2, SH1, LH2, LH1 ?
I make this assumption based on section 9.2.1.2 Handler Ordering of JAX-WS 2.2 docs: "all logical handlers precede all protocol handlers".
Could you please confirm if I am correct with this assumption?
Thanks,
Victor.
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
Hi Victor,
Yes, you are correct!
Regards,
Frits
Yes, you are correct!
Regards,
Frits
-
- Posts: 18
- Joined: Wed Jan 20, 2016 7:16 pm
- Contact:
Re: About Question enthuware.ocejws.v6.2.318 :
Thanks.fjwalraven wrote:Hi Victor,
Yes, you are correct!
Regards,
Frits
Who is online
Users browsing this forum: No registered users and 60 guests