cancel
Showing results for 
Search instead for 
Did you mean: 

reg: webservices error in xi

Former Member
0 Kudos

Hi ,

Iam new to xi and had developed a http to web service scenario and the response i got an error

Result:

<SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText></SAP:Error>

so in the receiver soap adapter in module tab i have given

Module name - localejbs/AF_Modules/MessageTranspormationBean

Type - Local Enterprise Bean Module - This is defined by the user, but the same name should be given in the module configuration for passing the parameters. In this case “transform” In the module configuration ,

Module key - In this case “transform”

Parameter name - TransformContenType

Parameter Value - text/xml;charset=utf-8

I got an error

Result:

<SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: local bean not found: localejbs/AF_Modules/MessageTranspormationBean</SAP:AdditionalText></SAP:Error>

the websevice is

http://www.webservicex.net/SendSMS.asmx?op=SendSMSToIndia

Could any one help me out.

Thanks & Regards,

Gangadhar.S

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gangadhar,

-Check your target Webservice is working fine or not.

-Check for the data that is coming from HTTP client is valid for the WS(may be test data is wrong and WS is giving Error for it)

-Check the WSDL you imported is the correct on or not.

Atlast get the fresh WSDL file from the WS and do the stuff in IR. I hope it will work.

I faced same problem and found my WS-WSDL had some problem...

Thanks

Farooq.

Former Member
0 Kudos

Hi Gangadhar

If you are new to SAP XI , then its better to read TIBIT. Below are the links of TIBIT which are very helpful in understanding the End-to-end process of XI. And you can even do some exercies here which are very helpful.

TBIT40:

https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40

TBIT41:

https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LA...

TBIT42:

https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LA...

TBIT43:

http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651

TBIT44:

https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44

later you can follow this link which contains step by step blogs for http to webservices

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=httptoweb+service&adv=false&sortby=cm_rnd_rankvalue

Thanks

sandeep

PS: if helpful plz reward points