[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.

Question
[x]
Attachment Details

How do I fix the 'Failed to access the WSDL' error? Take2

Asked by bootsminimus in NetBeans IDE, New to Java Programming

Tags: Java 6, JAX WS, NetBeans 6.5

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)
[+][-]10/13/09 08:26 PM, ID: 25567003Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/14/09 12:34 AM, ID: 25568026Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/14/09 12:47 AM, ID: 25568075Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/14/09 09:11 AM, ID: 25572150Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625