Skip to Content
0

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

Nov 13, 2017 at 06:51 AM

177

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Iñaki Vila Nov 13, 2017 at 04:08 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left 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

0
Evgeniy Kolmakov Nov 14, 2017 at 11:18 AM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

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.

0