Here are the contents of META-INF
META-INF/
META-INF/MANIFEST.MF
META-INF/wsdl/
META-INF/wsdl/EchoService.wsdl
I don't have a standard-jaxws-client-config.xml
This is the entire stack trace with all the 'caused by' entries
| Exception in thread "main" javax.xml.ws.WebServiceException:
java.lang.IllegalSt
| ateException: Could not setup remoting client
| at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(Clien
| tImpl.java:304)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:242)
|
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:16
| 4)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:15
| 0)
| at $Proxy15.echo(Unknown Source)
| at echo.EchoClient.main(EchoClient.java:15)
| Caused by: java.lang.IllegalStateException: Could not setup remoting client
| at org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(
| RemotingConnectionImpl.java:240)
| at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnec
| tionImpl.java:153)
| at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingCo
| nnection.java:77)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:331)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:230)
|
| ... 4 more
| Caused by: java.lang.NullPointerException
| at org.jboss.remoting.InvokerLocator.resolveHost(InvokerLocator.java:333
| )
| at org.jboss.remoting.InvokerLocator.URIParse(InvokerLocator.java:257)
| at org.jboss.remoting.InvokerLocator.parse(InvokerLocator.java:213)
| at org.jboss.remoting.InvokerLocator.<init>(InvokerLocator.java:193)
| at org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(
| RemotingConnectionImpl.java:213)
| ... 8 more
I am suspicious of one entry in my wsdl though: "Replace with actual url"
I am thinking if I need to change this to "http://localhost:8080/echo"
This is the wsdl.
| <?xml version="1.0" encoding="UTF-8"?>
| <definitions name='EchoService'
| targetNamespace='http://echo/'
|
xmlns='http://schemas.xmlsoap.org/wsdl/'
|
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
| xmlns:tns='http://echo/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
| <types>
| <xs:schema targetNamespace='http://echo/' version='1.0'
xmlns:tns='http://echo/'
xmlns:xs='http://www.w3.org/2001/XMLSchema'>
| <xs:element name='echo' type='tns:echo'/>
| <xs:element name='echoResponse' type='tns:echoResponse'/>
| <xs:complexType name='echo'>
| <xs:sequence>
| <xs:element minOccurs='0' name='arg0'
type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='echoResponse'>
| <xs:sequence>
| <xs:element minOccurs='0' name='return'
type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| <message name='Echo_echo'>
| <part element='tns:echo' name='echo'/>
| </message>
| <message name='Echo_echoResponse'>
| <part element='tns:echoResponse' name='echoResponse'/>
| </message>
| <portType name='Echo'>
| <operation name='echo' parameterOrder='echo'>
| <input message='tns:Echo_echo'/>
| <output message='tns:Echo_echoResponse'/>
| </operation>
| </portType>
| <binding name='EchoBinding' type='tns:Echo'>
| <soap:binding style='document'
transport='http://schemas.xmlsoap.org/soap/http'/>
| <operation name='echo'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| </binding>
| <service name='EchoService'>
| <documentation>Congrats! You have published your own
WSDL!</documentation>
| <port binding='tns:EchoBinding' name='EchoPort'>
| <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
| </port>
| </service>
| </definitions>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171357#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...