xmlapisoapwso2wso2-micro-integrator

Error showing Transport Level Information error in SOAP Message


I am trying to process a message using Class Mediator after consuming in wso2. However, getting the below error:

Transport level information does not match with SOAP Message namespace URI

Can anyone please guide why this would be an error. For reference below is the xml I am consuming:

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
    <soapenv:Body>
        <prov>
            <rowID>2106480</rowID>
            <msisdn>745340612</msisdn>
        </prov>
    </soapenv:Body>
</soapenv:Envelope>

Any guidance or help would mean a lot.

Thanks


Solution

  • This means you are receiving a SOAP 1.2 message and trying to consume it as a SOAP 1.1 message(Or vice-versa). From the shared message, the namespace https://www.w3.org/2003/05/soap-envelope belongs to SOAP 1.2. Hence change the namespace to https://schemas.xmlsoap.org/soap/envelope/ if you are using the Content-Type text/xml or change the content type to application/soap+xml