• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to remove < and > encoding

 
Alex Beekman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to send an XML String as a parameter in the body of my SOAP message.

AXIS seems to be converting the <> tags to & lt; and & gt;

What can I do to prevent this from happening? The WSDL belongs to an outside vendor so I can not chage the type to anything other than string.

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope ...>
...
<soapenv:Body>
<MethodName>
<xml>
& lt;Tag1& gt;Need to fix this & lt;/Tag1& gt;
</xml>
</MethodName>
</soapenv:Body>
</soapenv:Envelope>
[ January 04, 2005: Message edited by: Alex Beekman ]
 
Alex Beekman
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NM - it's correct for those to be there - the parsing error on the server side was related other issues.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!