Skip to Content

SOAP Response message contains an errorXIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION

Dear All,

I am doing SOAP to IDOC interface scenario.

Client will send an XML to PI via a web service. PI receives the XML and sends a response XML to Client.

When the XML is correct (mandatory fields populated and XML structure as expected) the mapping is done to an IDOC. The IDOC is sent to SAP ECC. Some mandatory fields we need to validate PI side and send to ECC.

Two cases :--

1) Case-1 In case the XML does not pass Mandaratory fields, a response XML message should be sent to Client stating the error encountered.

2) Case-2 In case the XML does pass pass Mandaratory fields, a response XML message should be sent to client stating that the message is successfully received.

I configured IR part mapping level i have taken multi mapping one message is IDOC structure another one is Response message .the above both cases are satisfied in mapping level.coming to ID part one soap sender channel and two receiver channel one is IDOC receiver channel and SAOP Receiver channel .

Please correct me anything i am going wrong. when i was tested form SOAP UI tool IDOC message is successful but response is i am facing below issue

SOAP: Response message contains an errorXIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION .

soap-receiver-channel.png

ping-channel.png

channel-error-log.png

message-error-logs.png

Please help me to get resolve ASAP.

Thanks,

Ashok.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 13, 2017 at 04:08 PM

    Hi Ashok,

    Have you tried to divide your issue?, i mean before to do a multi-mapping scenario, you can do two scenarios and to check that SOAP - IDOC and SOAP - SOAP scenario works fine. I think the problem could be in your IDOC structure is wrong.

    Are you using ICO object?, have you checked in the first tab that you have a Software component associated?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear inaki Vila ,

      If you divide the issue my condition is not applicable.

      The XML is correct (mandatory fields populated and XML structure as expected) the mapping is done to an IDOC. The IDOC is sent to SAP ECC.

      Some mandatory fields we need to validate PI side and send to ECC. at the same we need to send to response back to client like if mandatory fields are correct IDOC is created successfully.

      If xml incorrect or mandatory fields missing IDOC didn't create at same time response back to client like some fields are missing IDOC is not created like that we need to send.

      The above condition i did in mapping level but response message we are facing issue.

      I have one doubt i am only providing web service and same web service i need to send a response is it possible ?? i am doing wrong ?? Please suggest me i am going wrong analasis??

      Any more idea please do needfull.

      Thanks and Regards,

      Ashok

  • Nov 14, 2017 at 11:18 AM

    Hi Ashok!

    Maybe I understood your scenario wrong, but in your case you should use either Sync-Async bridge or separate Receiver with NotifyResponseBean to close your SOAP request.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded