cancel
Showing results for 
Search instead for 
Did you mean: 

Testing a Webservice using XMLSPYworks but not with SOAP client

Former Member
0 Kudos

HI All,

Whe i'm testing my webservice using the XML SPY - where i browse for my WSDL file and load the request it perfectly hits the destination BAPI and gives back a response.

But when i try to do it the other way through the SOAP client - Where i give the SOAP url which is of the format

http://Servername:port/XISOAPAdapter/MessageServlet?hannel=:servicename:communicationchannel

it gives me the error.

com.sap.uddi.generic.impl.soap.NativeSOAPException : Failed to open socket

Cause : class java.net.ConnectException : Connection refused: connect

i've tried passsing different payloads as request message , with soap tags , without soap tags etc. But through SOAPClient it gives me the same error

Any reason behind this ???

Thanks & Regards,

Rahul

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

It might happen, that the SOAP client tries to connect via a proxy server.

Check the proxy settings.

Regards

Stefan

Former Member
0 Kudos

Thanks Stefan!

Though there was no proxy settings in the browser , the soap client tool had the https proxy port alone set to 8080 without any host name . After removing it and on entering the piappluser credentials in to the tool it worked .