|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What do I load ?I'm trying to develop a web comsuming client using VS.NET 2003(VB), .NET Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 comuter. If i comsume this web service: https://xatanet.net/xatanetwebservice/tripexportservice.asmx and do this operation: RetrieveArchivedTrips using: Dim strDate As Date = "2006-04-01" Dim endDate As Date = "2006-04-28" proxy.RetrieveArchivedTrips(strDate, endDate) What do I load when i use the following statements in my program: Dim doc as XmlDocument = new XmlDocument() doc.Load() Any help would be gratefully appreciated. Thanks, Tony Tony,
Why do you not use the standard methods in VBNet to consume a webservice See this walkthrough where is in how to do it. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vbwlkCreatingDistributedWebApplicationWalkthrough.asp I hope this helps a little bit? Cor Show quoteHide quote "Tony Girgenti" <TonyGirge***@discussions.microsoft.com> schreef in bericht news:1D226855-1848-4DDC-9BC7-D94B3764CEF8@microsoft.com... > Hello. > > I'm trying to develop a web comsuming client using VS.NET 2003(VB), .NET > Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 comuter. > > If i comsume this web service: > https://xatanet.net/xatanetwebservice/tripexportservice.asmx > > and do this operation: RetrieveArchivedTrips > > using: Dim strDate As Date = "2006-04-01" > Dim endDate As Date = "2006-04-28" > proxy.RetrieveArchivedTrips(strDate, endDate) > > What do I load when i use the following statements in my program: > Dim doc as XmlDocument = new XmlDocument() > doc.Load() > > Any help would be gratefully appreciated. > > Thanks, > Tony > > Hello Cor.
I did use that walkthrough and cloned from it to get what i have already. I just need to know what goes between the "()" in the doc.Load() statement for my particular situation. Thanks, Tony Show quoteHide quote "Cor Ligthert [MVP]" wrote: > Tony, > > Why do you not use the standard methods in VBNet to consume a webservice > > See this walkthrough where is in how to do it. > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vbwlkCreatingDistributedWebApplicationWalkthrough.asp > > I hope this helps a little bit? > > Cor > > > > "Tony Girgenti" <TonyGirge***@discussions.microsoft.com> schreef in bericht > news:1D226855-1848-4DDC-9BC7-D94B3764CEF8@microsoft.com... > > Hello. > > > > I'm trying to develop a web comsuming client using VS.NET 2003(VB), .NET > > Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 comuter. > > > > If i comsume this web service: > > https://xatanet.net/xatanetwebservice/tripexportservice.asmx > > > > and do this operation: RetrieveArchivedTrips > > > > using: Dim strDate As Date = "2006-04-01" > > Dim endDate As Date = "2006-04-28" > > proxy.RetrieveArchivedTrips(strDate, endDate) > > > > What do I load when i use the following statements in my program: > > Dim doc as XmlDocument = new XmlDocument() > > doc.Load() > > > > Any help would be gratefully appreciated. > > > > Thanks, > > Tony > > > > > > > Tony Girgenti wrote:
> I just need to know what goes between the "()" in the doc.Load() statement Well, according to the docs, the Load method takes either a stream to> for my particular situation. an xml file, and xml filename, a textreader or an XmlReader. Depending on what xml you are trying to load would determine which overload of the Load method you must use. I'm not sure what this has to do with your web service, however. Tony Girgenti wrote:
> If i comsume this web service: See whether the suggestion made in reply to your other post helps:> https://xatanet.net/xatanetwebservice/tripexportservice.asmx > > and do this operation: RetrieveArchivedTrips > > using: Dim strDate As Date = "2006-04-01" > Dim endDate As Date = "2006-04-28" > proxy.RetrieveArchivedTrips(strDate, endDate) > > What do I load when i use the following statements in my program: > Dim doc as XmlDocument = new XmlDocument() > doc.Load() <http://groups.google.com/group/microsoft.public.xml.msxml-webrelease/msg/5f15410c64579cdd?dmode=source&hl=en> Excellent. That is exactly what i was looking for.
I'm sorry i did not explain what i was looking for correctly. Thanks very much Martin. Thanks to everyone else that replied to my request. Tony Show quoteHide quote "Martin Honnen" wrote: > > > Tony Girgenti wrote: > > > > If i comsume this web service: > > https://xatanet.net/xatanetwebservice/tripexportservice.asmx > > > > and do this operation: RetrieveArchivedTrips > > > > using: Dim strDate As Date = "2006-04-01" > > Dim endDate As Date = "2006-04-28" > > proxy.RetrieveArchivedTrips(strDate, endDate) > > > > What do I load when i use the following statements in my program: > > Dim doc as XmlDocument = new XmlDocument() > > doc.Load() > > See whether the suggestion made in reply to your other post helps: > <http://groups.google.com/group/microsoft.public.xml.msxml-webrelease/msg/5f15410c64579cdd?dmode=source&hl=en> > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ >
Vb 2005 equivalent to VB6 CreateObject
Object reference not set to an instance of an object error User Control c# to vb.net conversion storing unicode in byte array? Using VS 2005 String parameter dll function my challenges with merging 2 Regex.Matches Schema Information not found in web.config Printdocument.PrintPage cancel current printpage |
|||||||||||||||||||||||