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 '&lt;' 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,directm‌​odel,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 '&lt;' character.</faultstring> 

you need url encode data or put cdata block if it's going contain special characters < , >.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -