This is the Java Project first is SEI, that is, the server interface class HelloService. java [java] package com. jadyer. service; import javax. jws. webParam; import javax. jws. webResult; import javax. jws. webService;/*** SEI (Service Endpoint Interface) * @ see Methods * @ see here the class-level annotation @ WebService is used to mark the method of this interface as a Web Service * @ see it exposes all methods by default, to shield a Method, use @ Method's exclude = The true attribute * @ see parameters * @ see the default method parameter name in the generated wsdl is arg0 and arg1, And the return value is return * @ see, which is not easy to observe, therefore, you can use the @ WebResult and @ WebParam Annotations * @ see @ WebResult and @ WebParam to specify the method parameter name and return value in the generated wsdl file * @ see parameters here. Note: if a WebServices service has been released, modify the service details, such as method parameter name and return value * @ see The internal logic of the method is not modified, but after the service is re-released, the corresponding client also needs to be modified, for example, re-run the wsimport local class * @ see because the wsdl file has been modified (although only the parameter name is changed ), the requested wsdl on the client is different from the new wsdl on the content * @ see if the client does not re-wsimport, it will lead to a successful request for the Service (actually an hypothetical success) but do not get the correct results * @ see so once the service is released, do not easily modify * @ see Principal * @ create Mar 17,201 3 12:11:24 AM * @ author Xuan Yu