Hi,
I am trying to generate proxy files for the
microsoft virtual earth web service using WSDL2Java api .
java org.apache.axis.wsdl.WSDL2Java -W -s -S true -o src
http://staging.dev.virtualearth.net/webservices/v1/metadata/sear chservice/searchservice.wsdl
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?