Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

java.net.connectException While Implementing Sample Web Service

$
0
0

Hi Experts,

 

This is in Sourcing 10.

 

I was trying to implement the sample Projects web service provided in the Reference Guide. While uploading the XSD file I get a java.net.connectException because the code is not able to contact http://ws-i.org/profiles/basic/1.1/swaref.xsd.

 

Here is the exact text of the error.

 

[error] At line -1, column -1: IOException thrown when processing "http://ws-i.org/profiles/basic/1.1/swaref.xsd". Exception: java.net.ConnectException: Connection timed out (port 80 to address 174.143.0.116 (mail.vmx2.com)).

 

 

I looked into the XSD file but couldn't find any mention of this URL. I assume this has been built into the webservice framework/JAR file. I also looked into the log files but there is nothing that may point me to a resolution.

 

Now, I understand that this error is mainly because my server is offline and hence it is not able to connect to the mentioned schema. But this must be a standard scenario for quite a few Production servers.

 

Here is the screenshot for your reference:

 

26-04-2015 1-51-21 PM.png

 

Any help in resolving this error is appreciated.

 

Thanks

Devesh


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>