Hugo Pais [
https://community.jboss.org/people/equilibrium] created the discussion
"Re: javax.xml.ws.WebServiceException: Could not find wsdl"
To view the discussion, visit:
https://community.jboss.org/message/735045#735045
--------------------------------------------------------------
I pass a URL pointing to the wsdl:
{code}
private static final URL wsdl =
MyWebserviceRequest.class.getClassLoader().getResource("request.wsdl");
private static final MyService myWebService = new MyService(wsdl);
{code}
The URL is valid, I can print its content, that is, the wsdl.
Exception occurs when a WebMethod is invoked (createAsyncOrder).
{code}
@WebService(targetNamespace = http://.../ "http://.../", name =
"Test")
@XmlSeeAlso(value = {ObjectFactory.class})
@SOAPBinding(style = Style.RPC)
public interface Test {
@WebResult(name = "TestKey", targetNamespace =
http://ws.na.agorang.ptinovacao.pt/ "http://.../", partName =
"TestKey")
@WebMethod
public TestKey createAsyncOrder(@WebParam(partName = "TestValue", name =
"TestValue") TestValue ov) throws IllegalOrderException_Exception;
}
{code}
Is there any annotation that isn't valid? I had to change
@WebService(endpointInterface =
"[...].response.client.WebServiceResponseClient") to @WebService() at
WebserviceResponse
Thanks for the fast reply!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/735045#735045]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]