On Oct 3, 2:08 pm, "Joe Fawcett" <joefawc...@newsgroup.nospamwrote:
"raju" <ponnur...@gmail.comwrote in message
news:11**********************@w3g2000hsg.googlegro ups.com...
Hai,
Our client having one webservice, that return the xmlNode object
as
<Hello>
<First>one</First>
<second>Two</second>
</Hello>
When i call that webservice from vb.net code, it returns the outer
text as <Hello></hellotags.
I cant read the child nodes. object says that child node counts are
0.
Can any one help me, to read all the child elements.
Regards
Raju.
Well either the XML returned is not what you think it is or your code is
incorrect. Try displaying the OuterXml of the Hello node and if that shows
what you expect then post the actual code you are using. Remember XML is
case-sensitive.
--
Joe Fawcett (MVP - XML)http://joe.fawcett.name- Hide quoted text -
- Show quoted text -
Hai Joe,
Thanks for your immediate response and at the same time, for
spending your favourable time for this.
my code
Dim oPTNService As New carbon.CCServices
Dim a As Xml.XmlNode
a = oPTNService.Authenticate("FAE04EC0-301F-25D3-
BF4B-00C04F79EFBC", "god", "rose")
MsgBox("webservice returned a value")
txtResult.Text = a.OuterXml.ToString
MsgBox(a.ChildNodes.Count.ToString)
the txtresult shows as <Hello></hello>.
Regards,
Raju.