Hello!!
I've get to call the web service from a Java application in Eclipse. I've
solucionated the before error adding the library saaj-impl.jar.
Now I have a problem. I have jbpm-jpdl.3.2.2 installed in a remote machine.I would like
to call this web service from here. But jbpm uses Jboss 4.0.4. I've added some
libraries to the lib directory and I've copy the files that I've generated in the
other machine (Jboss 4.2.2). I've modified the files replacing localhost with the IP
where the webService exist. But it seems that it doesn't find the wsdl. I can do pings
to my remote machine but if I put
http://x.x.x.x:8080/proyecto/JbpmService?wsdl in the
browser the system doesn't find anything.
| Exception in thread "main" javax.xml.ws.WebServiceException: Failed to
access the WSDL at:
http://x.x.x.x:8080/proyecto/JbpmService?wsdl. It failed with:
| Connection refused: connect.
| at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:136)
| at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:122)
| at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226)
| at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:189)
| at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:159)
| at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:81)
| at javax.xml.ws.Service.<init>(Service.java:56)
| at jbpmservice.ws.JbpmService_Service.<init>(JbpmService_Service.java:40)
| at client.JbpmWSClient.main(JbpmWSClient.java:15)
| Caused by: java.net.ConnectException: Connection refused: connect
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(Unknown Source)
| at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
| at java.net.PlainSocketImpl.connect(Unknown Source)
| at java.net.Socket.connect(Unknown Source)
| at java.net.Socket.connect(Unknown Source)
| at sun.net.NetworkClient.doConnect(Unknown Source)
| at sun.net.www.http.HttpClient.openServer(Unknown Source)
| at sun.net.www.http.HttpClient.openServer(Unknown Source)
| at sun.net.www.http.HttpClient.<init>(Unknown Source)
| at sun.net.www.http.HttpClient.New(Unknown Source)
| at sun.net.www.http.HttpClient.New(Unknown Source)
| at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
| at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
| at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
| at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
| at java.net.URL.openStream(Unknown Source)
| at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:785)
| at
com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:236)
| at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:107)
| ... 7 more
|
|
Any ideas?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137396#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...