cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter: java.io.IOException: unable to create a socket

Former Member
0 Kudos

Hi,

I am trying to use the soap adapter to connect to a URL and post a document. When I try, the adapter throws the following

java.io.IOException: unable to create a socket

Does anyone know what causes this?

I get it both with the SOAP Envelope turned on and off.

I am trying to post to a URL that is usually used for straight HTTPS posts, could this cause an issue? The only reason we are using the SOAP adapter is to be able to send attachments! Hence, SOAP adapter, no SOAP envelope.

Kind Regard,

Chris

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi,

I think, this may be because of some security/firewall issues.

Check the webservice independently. Also go thru this SAP note - 856597 (SOAP Adapter)

Regards,

moorthy

Former Member
0 Kudos

Thanks for the note. This should be helpful as I progress

Chris

Answers (2)

Answers (2)

0 Kudos

Hi,

Had faced the same issue. The possible reasons were :

1. Either the target server might not be responding.

2. The Target URL configured in the communication channel might be wrong.

3. The port to which the message is being sent might not be opened which you need to cross-verify.

For me the issue was the port, which wasn't enabled from our end. The messages went past successfully once it was enabled.

Cheers!!

Jithin James.

Former Member
0 Kudos

Hi Richard,

It is possible that an incorrect port number can cause a socket error. Please check ur port number also

cheers,

Prashanth

P.S Please mark helpful answers