Skip to Content
avatar image
Former Member

Problem with RFC to SOAP Scenario


i've a problem using an external soap service via soap receiver adapter. Our partner has a wsdl for the service, so i have imported this wsdl file into the repository.

There was no problem to make a message mapping with this imported wsdl. The receiver soap adapter has the correct url for the web service and the soap action is set to the corresponding operation.

The RFC call in my test program fails with this message in R/3:

call to messaging system failed:

The message monitoring in XI shows this error message:

<SAP:Error xmlns:SAP=""
    <SAP:Code area="PARSING">
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
    soap fault: org.xml.sax.SAXException:
    SimpleDeserializer encountered a child element,
    which is NOT expected, in something it was trying to
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack /> 

Can anyone help me ? Our partner says that the web service is using apache axis, the url for the wsdl is">>.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Nov 07, 2006 at 03:02 PM


    do you call it in a sync (RFC-SOAP-RFC ) or async (RFC-SOAP) way?

    if sync - did you map the response correctly ?

    did you import the RFC into XI (repository)

    maybe after that you've changed the RFC

    and did not reimport into repository ?




    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2006 at 03:02 PM

    HI Marcel,

    make sure that you are sending values as per the WSDL Request message what i ment was

    for example Request message has field "Number" with Type int and if you are sending this value as dec this error could occur. i am not sure if there was any other reason

    for this error but i faced this error and retrived it by sending proper values.



    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2006 at 04:29 PM


    Check the WSLD mapping with RFC structure ? Is it works fine ? Test it with live data from SXMB_MONI ?

    Also test the webservice. check the SOAP reciever adpter configuration like Target URL - it should be wsdl url..

    this SAP note for RFC may help you - 730870.

    Do you have any error in the SM58 of R/3 system..



    Add comment
    10|10000 characters needed characters exceeded