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.
About Question enthuware.ocejws.v6.2.113 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Fri Apr 10, 2015 5:40 am
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.113 :
Hi!
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
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)1) is it correct?
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.2)handler chain customization how it work in binding time. Binding file used while generating client side stubs right ?i have small confusion.
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
-
- Posts: 28
- Joined: Fri Jan 02, 2015 12:13 pm
- Contact:
Re: About Question enthuware.ocejws.v6.2.113 :
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.
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.113 :
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
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
Who is online
Users browsing this forum: No registered users and 4 guests