cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver soap adaptet configuration

deviprasad_pothireddy
Active Participant
0 Kudos

Hi all,

I would like to send a sms using web service. (http://www.webservicex.net/SendSMS.asmx?op=SendSMSToIndia)

So I imported the wsdl file in external definition and created corresponding message type and synchronous message interfaces..

Using SOAP adapter would like to send request and response.

After compleation of scenario.

SXMB_MONI:- (send) request reached to xi server successfully even it is showing error

( receiver ) Status : error Error id -> General

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.net.ConnectException: Connection timed out: connect</SAP:AdditionalText>

In altova xml spy

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>RecoverableException</code>

<text><![CDATA[

com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: java.net.ConnectException: Connection timed out: connect

at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:855)

Receiver channel details:

I have used Target url : http://www.webservicex.net/SendSMS.asmx

Soap action: SendSMSToIndia

Please find the error and help me solve this problem.

Your help is rewardable.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

<i>com.sap.aii.af.ra.ms.api.DeliveryException: java.net.ConnectException: Connection timed out: connect</i>

>>>>

this can be of several reasons;

1. The site hosting WS is down.

2. your network connection is pretty slow.

3. Proxy - if you have a proxy for your network you need to include that in your configuration.

Answers (1)

Answers (1)

former_member192798
Active Contributor
0 Kudos

Hi Prasad,

As Shabarish said, it could be of several reasons:-

If it's a timeout error throwed by XI, take a look at Michal's blog:-

/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts

If proxy is involved, as said in one of the thread, do the following:-

In the Integration Builder (Configuration), open the editor of the reveiver's channel through which the XI will forward the message to the target Web Service.

In the "Connection Parameters" secetion, check "Connection Proxy".

Then specify the properties "Host" and "Port". The values of these properties are depending on the configuration of your XI system. For Example - "Host" would be "proxy.loc.amex.corp". And the "Port" would be "8080".

Hope this provides you a solution.

Regards.

Praveen