[jboss-dev-forums] [JBoss AS 7 Development] - Re: javax.xml.ws.WebServiceException: Could not find wsdl
Hugo Pais
do-not-reply at jboss.com
Fri May 11 08:40:37 EDT 2012
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120511/b047b4ec/attachment.html
More information about the jboss-dev-forums
mailing list