Skip to Content

problem while pinging Webservice from SUP 2.0

Hi ,

i am developing an SUP application using webservices.

I am unable to ping the webservice from SUP.

Using the following webservice: [http://www.currencyserver.de/webservice/currencyserverwebservice.asmx?WSDL]

I get the following error on pinging it.

com.sybase.sup.tooling.xml.XmlException: java.net.UnknownHostException: www.currencyserver.de

at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:589)

at com.sybase.sup.tooling.wsdl.WsdlParser.parse(WsdlParser.java:68)

at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:70)

at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:51)

at com.sybase.uep.datasources.ws.views.WSConnection.initialize(WSConnection.java:154)

at com.sybase.uep.datasources.ws.views.WSConnection.<init>(WSConnection.java:38)

at com.sybase.uep.datasources.ws.views.WSConnectionFactory.createConnection(WSConnectionFactory.java:28)

at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)

at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)

at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: java.net.UnknownHostException: www.currencyserver.de

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:529)

at java.net.Socket.connect(Socket.java:478)

at sun.net.NetworkClient.doConnect(NetworkClient.java:163)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)

at sun.net.www.http.HttpClient.New(HttpClient.java:306)

at sun.net.www.http.HttpClient.New(HttpClient.java:323)

at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)

at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)

at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:578)

Please let me know the solution.

Regards,

Jitendra Kansal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2011 at 09:13 PM

    Hello Jitendra,

    I am able to ping the same WDSL from my workspace. So I believe something wrong on your computer related to internet access. Probably the firewall is blocking your workspace from accessing internet. You can disable the firewall temporarily and try again.

    Alternate easy approach is, access the WSDL from internet explorer, save it in the form of .WDSL file on your desktop.

    And while creting the connection profile, choose the option 'From local file' and refer to the WDSL file saved on your desktop. This should definitely fix your issue.

    Let me know if you need any more help.

    Regards,

    Guru.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Guru,

      Thanks for your concern !!!

      i trired with disabling the windows firewall.

      there are 3 kind of settings on my computer:::

      1.domain network location settings

      2.home or work(private) network location settings

      3.public network location settings

      i turned off all above three.

      and was getting the same error as mentioned in above post.

      it was pinged successfully in both .wsdl file (one u sent and another one is currency conversion) cases but when i am entering

      default values and proceeding it was showin that same error.

      what could be solution in this case now ???

      Regards,

      Jitendra

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.