cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed content is not supported

KumarR
New Contributor

Hi Team,
I am getting below error from soap execute snap, My webservice returns me the mixed content and seems the soap snap is not able to digest/ parse it to json response.
Can you please suggest how can we get this response in soap snap output view?
Below is the response which i captured from SOAP UI for the web service which has mixed content in this,.

Soap UI response for service-
<soap:Envelope
xmlns:soap=“http://www.w3.org/2003/05/soap-envelope
xmlns:ns=“http://www.inlandrevenue.gov.uk/SOAP/Response/1
xmlns:ns1=“http://www.hmrc.gov.uk/successresponse/2
xmlns:xd=“XML-Signature Syntax and Processing
xmlns:err=“http://www.govtalk.gov.uk/CM/errorresponse”>
soap:Header/
soap:Body
ns:HMRCSOAPResponse

<ns1:SuccessResponse TestInLive=“true”>

ns1:IRmarkReceipt
<xd:Signature Id=“YY”>
<xd:SignedInfo Id=“RR”>
<xd:CanonicalizationMethod Algorithm=“?”>

</xd:CanonicalizationMethod>
<xd:SignatureMethod Algorithm=“?”>
cum

							<xd:HMACOutputLength>?</xd:HMACOutputLength>
                    sonoras
							
							<!--You may enter ANY elements at this point-->
                    aeoliam
						
						</xd:SignatureMethod>
					</xd:SignedInfo>
				</xd:Signature>
			</ns1:IRmarkReceipt>
		</ns1:SuccessResponse>
	</ns:HMRCSOAPResponse>
</soap:Body>

</soap:Envelope>

Best Regards,
Kumar

1 REPLY 1

KumarR
New Contributor

Hi team,
Please suggest if anyone come across this, Soap snap parsing the xml output response which has mixed contents and so its failing as not able to create josn of the response, Is there a way we can get xml as is as output from soap snap so that json parsing by soap snap will not fail due to mixed contents. By mean of any header or something by which snap can give xml as output.

Thanks!
Kumar