cancel
Showing results for 
Search instead for 
Did you mean: 

SYNC flow RESPONSE mapping not working in PO

former_member223432
Participant
0 Kudos

Hi Experts,


I am working on simple Sync request/response flow in PO. I have imported the WSDL and done the request-request and response-response mapping. and in the Response mapping, I have only one field which is populating constant.

"Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_MM_XXX_V01_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Content is not allowed in prolog"

and the response is coming blank. somehow the response mapping is not getting executed.

i also tried to create a new structure instead of using WSDL for response mapping. but its still the same.

The same flow/setup works fine in PI. WSDL is perfectly fine too.

Can someone please advise where the issue could be.

thanks

Accepted Solutions (0)

Answers (6)

Answers (6)

PRAGSMATIC
Participant
0 Kudos

Go to your integration directory and remove the Software Component version of the sender. Make it blank. This way it will not validate Service interface against the response and will not error out.

juan_vasquez2
Active Participant
0 Kudos

I suggest this

- Try your scenario with soapui,

- try without message mapping for response, just to see if the answer comes right from backend.

- verifiy the sender channel quality of service "Best Effort"

Regards

former_member223432
Participant
0 Kudos

Any valuable suggestions please

former_member223432
Participant
0 Kudos

Instead of Req-Req, and Response- Response SYNC flow, I tred Async flow(Req- response) and it is working fine.

Some issue with the SYNC flow where the Response mapping is creating empty payload or not being called correctly at runtime.

Can some one provide your valuable inputs please

Thanks

former_member190293
Active Contributor
0 Kudos

Hi Smith!

Depending on what mapping is shown in error message, request or response, check respective message contents in Message monitor. This error the most likely says that non-XML payload is provided as message mapping input.

Regards, Evgeniy.

former_member223432
Participant
0 Kudos

Hi Evgenily,

XML payload is ok..i took the payload from Message monitor and also when i test in mapping, it executes succesfully.

when i run end to end or from RWB, the response mapping is called but fails giving above error and payload is also empty

thanks

former_member186851
Active Contributor
0 Kudos

I think there is some issue in the request mapping.Is your request mapping executed fine?

Get the payload from Monitoring and run in test tab.

former_member223432
Participant
0 Kudos

hi,

XML payload is ok..i took the payload from Message monitor and also when i test in mapping, it executes succesfully.

when i run end to end or from RWB, the response mapping is called but fails giving above error and payload is also empty

thanks

former_member186851
Active Contributor
0 Kudos

Can you run the payload in SOAP UI and see if reponse is coming back?

former_member223432
Participant
0 Kudos

Hi Raghuram,

No.its not coming. response mapping is somehow not getting executed.

if i use the same mapping for request it works fine. I tested with using both Request and response mapping in "Request" and keeping Response as blank in the Operation mapping. it is working fine.

but if i keep any mapping at the response, it is giving the same error.

former_member186851
Active Contributor
0 Kudos

Hello Smith,

I think since your getting blank response there response mapping is executed. I mean no data at all. Whereas in mapping you will be just removing the field not entire XML.

The response will always be blank?If that is the case you have to handle it using Java or XSLT code to form a dummy XML.