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