Hi,
Is their an easier way to escape the xml characters that are contained
within a string value?
If my string value has some xml characters, the soap response is
escaping them to say > etc as below. See how I get <name instead
of <nam:...
The contents within nq:objectWrapper are from a "fromXML" method I
implemented for one of the custom-serializer. I tried escaping before I
send it to createElement, but it didn't help.
Any help is appreciated.
Thanks.
--Baseer
<tns:WsResourceProperties
xmlns:tns="http://ws.apache.org/muse/test/wsrf">
<nq:objectWrapper
xmlns:nq="http://schemas.xyz.com/2006/07/Chameleon/namedQuery"><nam:o
bjectWrapper
bean="com.cisco.cmp.schemas.x2006.x07.chameleon.equipmentP.impl.Equipmen
tTypeImpl"
xmlns:nam="http://schemas.cmp.cisco.com/2006/07/Chameleon/namedQuery">
;<topp:Top xsi:type="equ:EquipmentType"
xmlns:equ="http://schemas.xyz.com/2006/07/Chameleon/EquipmentP"
xmlns:topp="http://schemas.cmp.cisco.com/2006/07/Chameleon/TopP"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><topp:id>
PrimaryEquipment0</topp:id><res:isSendingAlarms
xmlns:res="http://schemas.xyz.com/2006/07/Chameleon/ResourceP">false&
lt;/res:isSendingAlarms></topp:Top></nam:objectWrapper></
nq:objectWrapper>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]