on 04-16-2019 4:49 PM
Hi Experts,
My scenario is Proxy to SOAP Sync Interface. I'm facing an issue in SOAP response. The SOAP error response structure is not available in the wsdl. Hence, i'm getting an error in SOAP Response.
Please find below the payload of SOAP response
errorType=internal&errorCode=701&message=&status=500
Please find below the message log,
SOAP: Request message entering the adapter processing with user <userid>
SOAP: Target url: <target url>
SOAP: Processing completed
SOAP: Continuing to response message dsf77d572-605c-119-983e-000000418156
Transmitting the message using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: 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_SOAP_Response; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Content is not allowed in prolog.
Message status set to FAIL
Kindly help me to fix this issue.
Many Thanks
MP
Hi Melchior,
can you check if you are using a fault mapping and your soap structure in fault mapping is matching with the one you are getting. You can run the error message in your fault mapping to check the correctness of the payload.
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this is a fault , then you can capture the fault using the adapter module -
XMBWS.NoSOAPIgnoreStatusCode = true
Module key will be soap.
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply.
the adaper module was configured with XMBWS.NoSOAPIgnoreStatusCode = true but still i'm receving the same error.
The payload of response message is,
<ns0:errorCode xmlns:ns0='http://<namespace>'>010</ns0:errorCode>
Kindly provide your suggestion to fix this issue
Hi Melchior,
Check the note "2293430 - Processing error response at sender SOAP adapter"....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply. i have done the configuration in module parameter XMBWS.AllowErrorResponse" with value "true. But still im getting the same error.
The payload of SOAP response is,
<ns0:errorCode xmlns:ns0='http://<namespace>'>010</ns0:errorCode>
In my Scenario, SOAP sender is Proxy which sends the request to 3rd Party System.
I'm getting the below error message in the SOAP Reponse
SOAP: Continued from request message 141905f5-606e-11e9-be9e-000000418156
SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
SOAP: Response message leaving the adapter
Executing Fault Mapping ,
Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD, ApplicationRuntimeException: Runtime Exception when executing application mapping program com/sap/xi/tf/_MM_SOAP_Fault_; Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element /ns0:MT_SOAP_FaultResponse_1. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD, IllegalInstanceException: Cannot create target element /ns0:MT_SOAP_FaultResponse_1. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.