Home All Groups Group Topic Archive Search About
Author
22 Jun 2006 12:21 AM
Tony Girgenti
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

Author
22 Jun 2006 5:32 AM
Cor Ligthert [MVP]
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
>
>
Author
22 Jun 2006 11:39 AM
Tony Girgenti
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
> >
> >
>
>
>
Author
22 Jun 2006 1:25 PM
Chris Dunaway
Tony Girgenti wrote:

> I just need to know what goes between the "()" in the doc.Load() statement
> for my particular situation.


Well, according to the docs, the Load method takes either a stream to
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.
Author
22 Jun 2006 1:27 PM
Martin Honnen
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/
Author
22 Jun 2006 2:03 PM
Tony Girgenti
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/
>