Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Escaping Invalid Characters in a Soap Envelope

Status
Not open for further replies.

icerose

Programmer
Joined
Sep 21, 2011
Messages
1
Location
ZA
Hi,

I have this piece of code in a SOAP Envelope and i know for sure the string element 'vCareOf' can contain illegal XML characters like 'James & Mika' . Can anyone tell me what the correct syntax is to bypass these characters? below is my attempt. PS, i'm a newbie to JDev :-)

+ "<ns1:AddressToOracleProcessRequest> "
+ " <ns1:input> "
+ " <ns1:careOf>"
+ <![CDATA[ vCareOf]]>
+ "</ns1:careOf>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top