-
1. Re: get Jboss 7 to use custom top down WSDL definition of your choosing, without having CXF generate a wsdl
888yyy888 Mar 11, 2013 5:30 PM (in response to 888yyy888)so setting the wsdlLocation in the @webservice annotation lead to the error described here
so it turned way simpler after reading it
the directions there list two options:
1) Update the @WebService annotation on the FooDocumentImpl class to
have the serviceName/portName attributes that match the values in the
wsdl.
2) Update the <jaxws:endpoint> element in your config to add the
qnames for the service name and portname.
the first is if you are not using Spring, so after explicitly bringing the @WebService annotation to:
@WebService(endpointInterface = "main.package.InterfaceWS", serviceName = "InterfaceWSService", name = "InterfaceWS", targetNamespace = "http://Interface.namespace.main", wsdlLocation = "WEB-INF/wsdl/InterfaceWS.wsdl" ,portName="InterfaceWSPort")
to match the service description in the InterfaceWS.wsdl:
<service name="InterfaceWSService">
<port binding="tns:InterfaceWSSOAPBinding" name="InterfaceWSPort">
<soap:address location="http://localhost:8080/publishedLocationOfInterface />
</port>
</service>
it worked like a charm