I think for this question correct answer is no.2 instead of no1.
Code: Select all
public String log(String msg)
Code: Select all
public String logN(String msg)
So answer of the question should be :
log(), logN()
Best Regards,
Yogesh Patil
Moderators: Site Manager, fjwalraven
Code: Select all
public String log(String msg)
Code: Select all
public String logN(String msg)
Regards,all of the public non-static or non-final methods that satisfy one of the following conditions:
1. They are annotated with the javax.jws.WebMethod annotation with the exclude element set to false or missing (since false is the default for this annotation element).
2. They are not annotated with the javax.jws.WebMethod annotation but their declaring class has a javax.jws.WebService annotation.
Check the EE6 provider's info page. If you are using Glassfish, check https://glassfish.java.net/downloads/v3-final.htmli, It is not clear to me, may be I am using latest version of JAX-WS. How do I find it by the way ?.
You are not doing anything wrong: this is an example where the server doesn't implement the JAX-WS 2.x specifications strictly. It really should only expose the methods of the SEI (from JAX-WS 2.2):When deployed I see all the operations in WSDL (add, sub and divide). May be I am doing something wrong...Please help me.
Regards,3.3 Class
In order to allow for a separation between Web service interface and implementation, if the WebService annotation on the class under consideration has a endpointInterface element, then the interface referred by this element is for all purposes the SEI associated with the class.
...
3.5 Method
Each public method in a Java SEI is mapped to a wsdl:operation element in the corresponding wsdl:portType plus one or more wsdl:message elements.
Users browsing this forum: No registered users and 103 guests