Page 1 of 1

About Question enthuware.ocejws.v6.2.106 :

Posted: Wed Jun 17, 2015 6:51 am
by resolve123
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?

Re: About Question enthuware.ocejws.v6.2.106 :

Posted: Wed Jun 17, 2015 8:34 am
by fjwalraven
Hi !

Why do you think it is wrong?

Regards,
Frits

Re: About Question enthuware.ocejws.v6.2.106 :

Posted: Thu Jun 18, 2015 11:56 am
by resolve123
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.

Re: About Question enthuware.ocejws.v6.2.106 :

Posted: Thu Jun 18, 2015 12:11 pm
by fjwalraven
In your answer SH4 is excuted before SH1.
Yes, and that is correct.

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