This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I get the following exception..... java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) ... .... ..... ........
I am able to access the wsdl file from IE . What could be the possible reason ? Is there any other way to access Micrsoft virtual Earth webservices from any Java Application?
You must be behind a Proxy and hence you might be receiving this exception. I tried it on my PC and got all the 62 emitted files from WSDL2Java utility. You may also try and write a small piece of code invoking WSDL2Java with the �Proxy-Authorization� param set for the proxy.
Joined: Jul 14, 2008
thank you . Can you please elaborate on how to set �Proxy-Authorization� param for the proxy & where do I need to add this?
[ December 17, 2008: Message edited by: Ramesh Sahu ] [ December 17, 2008: Message edited by: Ramesh Sahu ]
Joined: Sep 25, 2006
Originally posted by Ramesh Sahu:
Can you please elaborate on how to set �Proxy-Authorization� param for the proxy & where do I need to add this?
Maybe this post would prove to be useful for your cause.