Hi Seumas,

Can you provide the stacktrace and also provide the wsdl file you used if possible?

The endpointInterface element in WebService annotation can be omitted, so i guess the problem is in runtime, but to add the element in tools can also fix the problem.
So, i think we better fix the both side.

Cheers,
James.

Seumas Soltysik (JIRA) 写道:
WSDL2Java fails to include endpointInterface WebService attribute for server 
Impl
---------------------------------------------------------------------------------

                 Key: CXF-163
                 URL: http://issues.apache.org/jira/browse/CXF-163
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.0-M1
            Reporter: Seumas Soltysik


In the demos and test code, the server Impl classes have a WebService 
annotation that looks like this:
@javax.jws.WebService(portName = "SoapPort", serviceName = "SOAPService", targetNamespace = "http://apache.org/hello_world_soap_http";, endpointInterface = "org.apache.hello_world_soap_http.Greeter")

However, if I code generate a server Impl using the WSDL2Java tool, the 
"endpointInterface" attribute is missing which causes  a runtime failure.


Reply via email to