on 12-20-2017 10:07 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any valuable suggestions please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.