cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter error

Former Member
0 Kudos

Hi folks,

I'm using a SOAP adapter to send a message from XI to a webservice. The message currently gets as far as the SOAP adapter and then fails.

The error in the soap adapter log is: com.sap.aii.messaging.srt.BubbleException: Can't call the endpoint; Exception raised by java.net.BindException: Cannot assign requested address: connect. This error is a few lines after the entry: Info: try to open socket for host abcd123, port 0 (where abcd123 is the web service server).

The error in the adapter engine log is: Error: com.sap.aii.messaging.net.TransportException: HTTP 500 Internal Server Error

I have checked the configuration of the adapter and everything seems correct. The soap adapter is installed on the same server as the webservice so it should be able to connect to the webservice.

I am at a loss and would appreciate some help.

Thanks,

Rashad

p.s. I am using XI 2.0

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved!

In case anyone else comes across this problem, the error was in the definition (or lack thereof) of the port the web service was listening on.

The web service I was connecting to was listening on the default port (80) - consequently the documentation defined the web service as http://<servername>/abcwebservice/

If the above web service url is then used in the soap adapter configuration (i.e. just server name and no port), the adapter assumes you are trying to connect on port 0.

It's a shame I can't reward myself points

Rashad