Page 1 of 1

About Question enthuware.ocejws.v6.2.113 :

Posted: Fri May 01, 2015 9:56 pm
by srirama
Handlers can be configured on the server side. What is/are the correct statement(s) about configuring Handlers of the server side?
In Explanation server side configuration possible cases:-
1.sun-jaxws.xml
2.@HandlerChain(file="handler-chain.xml")
3.Configuring Handlers on Server - Handler Chain Customization
but i read in Mikalai Zaikin note:-
webservices.xml file also we can configure.

1) is it correct?
2)handler chain customization how it work in binding time. Binding file used while generating client side stubs right ?
i have small confusion.

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

Posted: Sun May 03, 2015 4:48 am
by fjwalraven
Hi!
1) is it correct?
Yes, I will add it to the explanation (although the webservices.xml is not needed anymore in EE6, you could still use it to override the Handlers)
2)handler chain customization how it work in binding time. Binding file used while generating client side stubs right ?i have small confusion.
Yes, you can actually use it for both the server side and client side. When you use it as an external file the Handlers will be on the client side. When the Handlers are embedded in the WSDL document, you can have the Handlers on the server side.

However such details about the webservices.xml won't be on the exam. It will be enough for you to know what can be configured in the webservices.xml. Most likely you won't encouter any question about this deployment descriptor at all.

Regards,
Frits

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

Posted: Sat Dec 12, 2015 10:22 pm
by disznoperzselo
You accept the @HandlerChain annotation to be a server side handler configuration option as a good answer if used on the @WebServiceRef annotation. Why? @WebServiceRef is used to inject a Service instance on JEE clients. It seems to be a client side handler configuration option.

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

Posted: Sun Dec 13, 2015 1:37 am
by fjwalraven
Hi,

You are correct: that is a EE-client configuration! I will remove that option as a correct option to the question.

Thank you for your feedback!

Regards,
Frits