|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by bootsminimus in NetBeans IDE, New to Java Programming
pbenito has already asked this question but seemed satisfied with the solution provided and I am still attempting to get my service client to link to the an existing web service.
I have a web service client written in Java 6 using NetBeans 6.5. I am able to get the WSDL, and NetBeans appears adds the web service with no issues. I can view the WSDL in my browser and even have a C# client on my machine that is accessing this service without a problem. When I go to run the java client from the NetBeans IDE I get the error below. I have made sure that the proxy server setting in the IDE is setup appropriately and the server that holds the web service sits inside the proxy server but the IP address is specified as "No Proxy Hosts". Any ideas on how to fix this?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
|
avax.xml.ws.WebServiceException: Failed to access the WSDL at: http://196.45.169.24:8000/ws/bcxutils.Logging.ws:addMilestoneWSDL?WSDL. It failed with:
Server returned HTTP response code: 504 for URL: http://196.45.169.24:8000/ws/bcxutils.Logging.ws:addMilestoneWSDL?WSDL.
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:136)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:122)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:189)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:159)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:81)
at javax.xml.ws.Service.<init>(Service.java:56)
at _24._169._45._196.bcxutils.logging.ws.addmilestonewsdl.AddMilestoneWSDL.<init>(AddMilestoneWSDL.java:46)
at testjunk.Main.main(Main.java:21)
Caused by: java.io.IOException: Server returned HTTP response code: 504 for URL: http://196.45.169.24:8000/ws/bcxutils.Logging.ws:addMilestoneWSDL?WSDL
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1241)
at java.net.URL.openStream(URL.java:1009)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:785)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:236)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:107)
|
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625