cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to SOAP scenario is not working

Former Member
0 Kudos

hello

i have developed a nRFC to SOAP scenario, whch is using the wevservicex's (sendsms) service.

i have imported the RFC and wsdl definitions.

I have configured the sender RFC channel reciever SOAP adapter and the entries i put in the channel

Target URL: http://www.webservicex.net/SendSMS.asmx

Soap Action: http://www.webserviceX.NET/SendSMSToIndia

i have developed the RFC connection of type T.

when i run the scenario it is giving me an error " com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid content type for SOAP: TEXT/HTML" .

i have checked in the communication channel monitoring and the channel status shows "call Failed"

i have gone through various blogs but my problem is still not solved.

please suggest me what needs to be done in this scenario.

thanks

kannu.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I have also used this web service and faced the same problem, make entry in your host file, error will be solved

209.162.186.60 www.webserviceX.NET

Thanks,

Krishna

Former Member
0 Kudos

Hi,

In target URL pass: http://209.162.186.60/SendSMS.asmx?WSDL

Thanks,

Krishna

Former Member
0 Kudos

thanks for your suggestions,

I did every setting suggested by all of you but it is still not working.

One thing i want to confirm that the entries for the host file needs to be done on local desktop

or on server.

thanks

kannu

stefan_grube
Active Contributor
0 Kudos

> One thing i want to confirm that the entries for the host file needs to be done on local desktop

> or on server.

On server. But it should be sufficient to put the ip address in target URL.

If you have access to the server, you should try to test the webservice from there.

maybe the proxy settings are different on XI server than on your local PC?

Former Member
0 Kudos

Hi,

In your desktop it require.

C:\WINDOWS\system32\drivers\etc

Thanks,

Krishna

Former Member
0 Kudos

Thanks,

I added the entry in the host file on the system(Local system).

but for the local system it didn't work for me.

i am adding the entries on server as i don't have authorization, i need to get it done from IT.

Thanks for your valuable suggestions.

Thanks

kannu reen.

Former Member
0 Kudos

Hello,

i have added the entries in the host file on PI server , but still the scenario is not working.

It seems that the PI server is able to ping the URL but the issue is in response message.

I think the authentication fails when the response comes back from the URL.

In message monitoring the details show that the message is successfully delivered but the message fails while getting response.

Do i need to do some settings on PI server for getting the response back from the URL.

thanks

kannu reen.

stefan_grube
Active Contributor
0 Kudos

> I think the authentication fails when the response comes back from the URL.

No, definitive not.

You should check wikipedia to see how HTTP works to have a basic understanding. It will help you finding the error.

http://en.wikipedia.org/wiki/Http

stefan_grube
Active Contributor
0 Kudos
Former Member
0 Kudos

Thanks Stefan,

i did everything as per the link but still my scenario is not working.

Are there any settings that needs to be done on PI server to send the data to the URL.

I am getting the error INVALID CONTENT TYPE"

I am using the WSDL link and ACTION as per the WSLD file detials.

Please suggest me setting that needs to be done at PI server to make this scenario work.

thanks.

kannu.

stefan_grube
Active Contributor
0 Kudos

Did you change the target URL according to the document?

Former Member
0 Kudos

i did the same settings in the CC for the URL to which i am sending data as described in the document.

I am giving a detail view of my scenario.

1 I downloaded the WSDL of the webservice and imported it as an external definition.

2 I created a message interface out of the ED.

3 My scenario is an RFC-XI- webservice.

4 i created sender RFC channel and receiver SOAP channel.

in targer url: http://www.webservicex.net/SendSMS.asmx

soap action: http://www.webserviceX.NET/SendSMSToIndia

Please let me know apart from the CC configuration do we need to register the webservice on PI server.

thanks

karandeep.

stefan_grube
Active Contributor
0 Kudos

Have you tested the webservice also with a SOAP test tool?

Maybe you have to assign a proxy server.

Former Member
0 Kudos

hello stefan,

yes i am using soap test client SOAPUI and my WSDL is pinging up.

i am also using the same proxy in the CC which is there in IE settings.

thanks

kannu

stefan_grube
Active Contributor
0 Kudos

check the "do not use SOAP envelope" and post the response message.

Former Member
0 Kudos

Thanks Stefan,

i checked the same option and now i am getting a new error.

HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

please suggest me to solve this problem

from the issue it seems that it is related to Proxy but i have already given the user id password and proxy detials.

thanks

kannu

former_member200962
Active Contributor
0 Kudos

Did you provide a valid user-name and password for connecting to the SOAP application in your SOAP channel?

stefan_grube
Active Contributor
0 Kudos

Double check that you have checked "configure Proxy user Athentication" and that you have entered correct user and password.