Hi everyone,
I am trying to parse a standard SOAP web-service reply using XMLSAX library.
The issue is that any numeric value outputs as number 7.
This is how SOAP reply looks in soapUI (utf-8 encoding):
<TitleP>031 requests</TitleP>
This is what comes out of the parser object:
007 requests
I followed xmlsax tutorials Erel kindly provided on the forums:
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
'parser is process global
parser.Initialize
parser.Parse(Response.GetInputStream, "parser")
End Sub
Sub Parser_EndElement (Uri As String, Name As String, Text As StringBuilder)
If Name = "TitleP" Then
tx_out.Text = Text.ToString <--- 031 or any number is returned as 007 !
End If
End Sub
Actually any number from soap request is returned as 7 from the parser.
I wonder if anyone had this problem and is there a solution?
Thanks in advance -
I am trying to parse a standard SOAP web-service reply using XMLSAX library.
The issue is that any numeric value outputs as number 7.
This is how SOAP reply looks in soapUI (utf-8 encoding):
<TitleP>031 requests</TitleP>
This is what comes out of the parser object:
007 requests
I followed xmlsax tutorials Erel kindly provided on the forums:
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
'parser is process global
parser.Initialize
parser.Parse(Response.GetInputStream, "parser")
End Sub
Sub Parser_EndElement (Uri As String, Name As String, Text As StringBuilder)
If Name = "TitleP" Then
tx_out.Text = Text.ToString <--- 031 or any number is returned as 007 !
End If
End Sub
Actually any number from soap request is returned as 7 from the parser.
I wonder if anyone had this problem and is there a solution?
Thanks in advance -
Last edited: