Skip to Content
avatar image
Former Member

Problem with RFC to SOAP Scenario

Hello,

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:
com.sap.aii.af.ra.ms.api.DeliveryException

The message monitoring in XI shows this error message:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapter</SAP:Category> 
    <SAP:Code area="PARSING">
      ADAPTER.SOAP_EXCEPTION
    </SAP:Code> 
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText>
    soap fault: org.xml.sax.SAXException:
    SimpleDeserializer encountered a child element,
    which is NOT expected, in something it was trying to
    deserialize.
  </SAP:AdditionalText> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
</SAP:Error>

Can anyone help me ? Our partner says that the web service is using apache axis, the url for the wsdl is http://test.ceg-plus.com/crefo-connect-test/services/CreditreformService?wsdlhttp://test.ceg-plus.com/crefo-connect-test/services/CreditreformService?wsdl">http://test.ceg-plus.com/crefo-connect-test/services/CreditreformService?wsdl>.

Thanks,

Marcel

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Nov 07, 2006 at 03:02 PM

    hi,

    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 ?

    Regards,

    michal

    -


    <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.

    regards,

    raj

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2006 at 04:29 PM

    HI,

    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..

    Regards,

    moorthy

    Add comment
    10|10000 characters needed characters exceeded