Last post Nov 07, 2017 05:23 AM by Billy Liu
Nov 06, 2017 03:58 AM|lappel|LINK
Hai morning guys,
Can somebody help me, How to Read File XML From WSDL in VB.NET ?
Because i'm stuck !
Nov 07, 2017 03:21 AM|Billy Liu|LINK
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://localhost:8888/GettingStarted/?wsdl")
Dim response As System.Net.HttpWebResponse = request.GetResponse()
' Parse the contents from the response to a stream object
Dim stream As System.IO.Stream = response.GetResponseStream()
' Create a reader for the stream object
Dim reader As New System.IO.StreamReader(stream)
' Read from the stream object using the reader, put the contents in a string
Dim contents As String = reader.ReadToEnd()
' Create a new, empty XML document
Dim document As New System.Xml.XmlDocument()
' Load the contents into the XML document
Nov 07, 2017 03:30 AM|lappel|LINK
oh ya, and how about convert xml file into dataset ?
if am read the xml file is same as convert into dataset ? or not ?
Nov 07, 2017 05:23 AM|Billy Liu|LINK
Since you question in your original post has been resolved, It's better to close this thread, for example mark a reply as answer if it’s ok for you, and start a new thread for your new question which could also benefit others who encounter similar issues
in this community.
Thanks for your cooperation.