About Question enthuware.ocejws.v6.2.113 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
srirama
Posts: 1
Joined: Fri Apr 10, 2015 5:40 am
Contact:

About Question enthuware.ocejws.v6.2.113 :

Post 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.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post 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

disznoperzselo
Posts: 28
Joined: Fri Jan 02, 2015 12:13 pm
Contact:

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

Post 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.

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests