cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member190293
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Dear Evgeniy,

Can please share me more detailed information about Sync-Async bridge or separate Receiver with NotifyResponseBean to close your SOAP request . i will try my level best.Please do need full.

Thanks and Regards,

Ashok

former_member190293
Active Contributor
0 Kudos

Hi Ashok!

Sync-Async bridge:

https://wiki.scn.sap.com/wiki/display/XI/Step+by+step+guide+on+Sync+Async+Bridge+without+BPM

Second approach is based on the same method of using RequestOnewayBean and WaitResponseBean in sender adapter. Further you use separate receiver with OM for building response message for the sender system and setting the correlation Id. And in receiver communication channel for that receiver you put NotifyResponseBean and remove default module.

Regards, Evgeniy.

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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