A
akosz
We have a web service that basically does as follows
<WebMethod()>
Public Function Verify(ByRef strXML As String) As Intege
Dim iRetCode As Integer = 0
iRetCode = DoStuff(strXML
If (iRetCode < 0) The
Return iRetCod
End I
Return iRetCod
End Functio
This works fine when we use a VB.NET or ColdFusion test app to send or receive XML. However, some of our customers who aren't using VB or CF are having the XML returned to them using entity references ( such as: < and > ). If we change the code to
<WebMethod()>
Public Function Verify(ByRef strXML As String) As Intege
Dim iRetCode As Integer = 0
iRetCode = DoStuff(strXML
If (iRetCode < 0) The
strXML = "<![CDATA[" + strXML + "]]>
Return iRetCod
End I
strXML = "<![CDATA[" + strXML + "]]>
Return iRetCod
End Functio
It eliminates their problem, but now the CF and VB.NET test apps of ours are blowing up
Any suggestions on how to return XML that is universally readable
akos
<WebMethod()>
Public Function Verify(ByRef strXML As String) As Intege
Dim iRetCode As Integer = 0
iRetCode = DoStuff(strXML
If (iRetCode < 0) The
Return iRetCod
End I
Return iRetCod
End Functio
This works fine when we use a VB.NET or ColdFusion test app to send or receive XML. However, some of our customers who aren't using VB or CF are having the XML returned to them using entity references ( such as: < and > ). If we change the code to
<WebMethod()>
Public Function Verify(ByRef strXML As String) As Intege
Dim iRetCode As Integer = 0
iRetCode = DoStuff(strXML
If (iRetCode < 0) The
strXML = "<![CDATA[" + strXML + "]]>
Return iRetCod
End I
strXML = "<![CDATA[" + strXML + "]]>
Return iRetCod
End Functio
It eliminates their problem, but now the CF and VB.NET test apps of ours are blowing up
Any suggestions on how to return XML that is universally readable
akos