answers to below question in your test is wrong
We have configured a number of Handlers in both the client and server side of our Web Service.
This is the configuration order of the handlers on the client side:
1) LogicalHandler 1
2) LogicalHandler 2
3) SOAPHandler 1
4) SOAPHandler 2
This is the configuration order of the handlers on the server side:
1) LogicalHandler 3
2) LogicalHandler 4
3) SOAPHandler 3
4) SOAPHandler 4
What will be the order of execution when the message travels from client to server?
About Question enthuware.ocejws.v6.2.106 :
Moderators: Site Manager, fjwalraven
-
- Posts: 6
- Joined: Wed Jun 17, 2015 6:45 am
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.106 :
Hi !
Why do you think it is wrong?
Regards,
Frits
Why do you think it is wrong?
Regards,
Frits
-
- Posts: 6
- Joined: Wed Jun 17, 2015 6:45 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.106 :
server side for the inbound Handler sequence should be like
SH3-->SH4-->LH1-->LH2 but in answer it is
because what ever SH handler will be first in configuratio at server side should execute first but In your answer SH4 is excuted before SH1.
SH3-->SH4-->LH1-->LH2 but in answer it is
because what ever SH handler will be first in configuratio at server side should execute first but In your answer SH4 is excuted before SH1.
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.106 :
Yes, and that is correct.In your answer SH4 is excuted before SH1.
The JAX-WS specs are clear about it: for inbound messages the order of processing (when compared to the order of configuration) is reversed.
Try to code this example and see what happens.
Regards,
Frits
Who is online
Users browsing this forum: No registered users and 139 guests