Skip to Content
author's profile photo Former Member
Former Member

reg: webservices error in xi

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 10:50 AM

    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&LANGUAGE=

    TBIT42:

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

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:00 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.