wsdl - SOAP Response error -must not contain the < character -
getting error
java.lang.runtimeexception: exception in preinvoke : javax.xml.soap.soapexception: org.xml.sax.saxparseexception; linenumber: 6; columnnumber: 47; value of attribute "arasaml" associated element type "tcin:applyamlintcinputdata" must not contain '<' character.
i testing webservice in soap
ui , below soap
request.
<soapenv:envelope xmlns:soapenv="schemas.xmlsoap.org/soap/envelope/"; xmlns:tcin="de4.com/schemas/tcintgn/2013-05/tcintegration">; <soapenv:header/> <soapenv:body> <tcin:applyamlintcinput> <tcin:applyamlintcinputdata arasaml="<xml><revisions><item_revision><itemno>000147</itemno><type>pdf,directmodel,mspowerpointx</type></item_revision></revisions></xml>" message="downloaddatasetfile" > </tcin:applyamlintcinputdata> </tcin:applyamlintcinput> </soapenv:body> </soapenv:envelope>
getting soap
response below
<faultstring>java.lang.runtimeexception: exception in preinvoke : javax.xml.soap.soapexception: org.xml.sax.saxparseexception; linenumber: 6; columnnumber: 47; value of attribute "arasaml" associated element type "tcin:applyamlintcinputdata" must not contain '<' character.</faultstring>
you need url encode data or put cdata block if it's going contain special characters < , >.
Comments
Post a Comment