cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SOAP Receiver Adapter

Former Member
0 Kudos

Hi Experts,

i am working on Mail to SMS (SOAP) senario.

When i searched in SDN i found a freely available Webservice for sending SMS to Mobiles. i have done all the configurations required.

Web service used :http://www.webservicex.net/SendSMS.asmx.

i am getting the following error in SOAP receiver Channel.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing

Pls anyone help me in this. If any blogs related to send SMS to Moblie pls share it.

Regard's

Preethi.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184681
Active Contributor
0 Kudos

Hi,

As a rule, you should open the .wsdl file for your web service and find the SOAP Action there. soapAction is an attribute of a soap:operation tag. In your particular case, the .wsdl file says:

<soap:operation soapAction="http://www.webserviceX.NET/SendSMSToIndia" style="document"/>

so the SOAP Action to use in your Receiver SOAP CC is

http://www.webserviceX.NET/SendSMSToIndia

.

Hope this helps,

Greg

Former Member
0 Kudos

Hi All,

Thanks for all the replies. After i changed the Action Now , there is no error message in SOAP Receiver adapter. But i am not getting the msg in Mobile but the status in PI is Message Processed Successfully.

Can u all pls help me how can i work on this issue.

Regard's

Preethi.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Thanks for all the replies. After i changed the Action Now , there is no error message in SOAP Receiver adapter. But i am not getting the msg in Mobile but the status in PI is Message Processed Successfully.

Can u all pls help me how can i work on this issue.

If the message is already successful (at least in sync scenarios), then there is no longer anything to troubleshoot It is best to contact the provider of this webservice to ask what happened to your successful requests.

Hope this helps,

Mark

Former Member
0 Kudos

Hi all,

Can any one give am referenced for a Free Web service which send SMS to a mobile.

This Webservice is not working : http://www.webservicex.net/SendSMS.asmx?WSDL

Regard's

Preethi.

Former Member
0 Kudos

Hi ,

To call an external web service from XI, whether it need any settings to avoid firewall issue.

Regard's

Preethi.

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Preethi

Are you using any Gateway service for this purpose?

What I can see is the url is "Send unlimited free SMS to India - Maximum message size is 120 characters"

It is also asking for a mobile number....

What I feel the proper way should be, to take the Gateway Services from a provider (paid I believe) and then go on designing based on the wsdl they provide.

Sourabh

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at

You did not have any value in the SOAP Action in your SOAP Receiver Adapter, the correct value would be:

http://www.webserviceX.NET/SendSMSToIndia

Hope this helps,

Mark

Former Member
0 Kudos

Hi Mark,

Can u pls explain it in some more detail manner, where i did need to check for this.

Regard's

Preethi.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

At the bottom of your SOAP Receiver Adapter, there is a field called SOAP Action there, it is there that you will place this value http://www.webserviceX.NET/SendSMSToIndia. Afterwards, save and activate.

Hope this helps,

Mar

Former Member
0 Kudos

HI Mark,

As u have mentioned i have made chamges in the SOAP Receiver Adapter,

Still getting following error in RWB,

2 Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://www.webservicex.net/SendSMSToIndia. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

Regard's

Preethi.

PriyankaAnagani
Active Contributor
0 Kudos

Hi Preethi,

In SOAP receiver communication channel,You have to apply the correct SOAPAction. The SOAP action that you are using might be wrong. check SOAP Action in WSDL.

Regards,

Priyanka

jagdishwar_b
Active Participant
0 Kudos

SOAPAction is case sensitive,

enter: http://www.webserviceX.NET/SendSMSToIndia

instead of http://www.webservicex.net/SendSMSToIndia

regards

BJagdishwar.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

The message clearly shows that you need to configure action field in the receiver communication channel. If you have WSDL open the WSDL and search for the string "action". Copy the value of the action element and paste it in the communication channel. You should be fine. Looks like the server that host the webservices is up and running and should not have problem. You can try other freely available webservices too. Google for it.