Re: Calling webservice in vb.net (using SOAP)

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Drew Marsh (drub0y_at_hotmail.no.spamming.com)
Date: 12/03/04


Date: Fri, 03 Dec 2004 08:17:11 -0800

Henrik wrote:

> I need to get a refferece to a XML-webservice, and get some data from
> it.... But I can't add it like an web-refference...

Why not...?

> What options does
> I else have?? I've been told that i've to use SOAP, to connect to it,
> but how??

A web reference does (ultimately) use SOAP. What it's doing is generating
NET classes based on the services definition (WSDL) so that you can more
program against the web service using .NET types instead of having to shift
your brain into the more complex world of XML specifications surrounding
web services.
 
> Are there any good documentation for that?? all the examples that i've
> found, is using web-refference..

I could tell you to just build the SOAP request by hand with XmlDocument
and then send it use HttpWebRequest, but I'm just not sure you actually need
to go to that extreme. If you could provide us with some more detail as to
why you can't use a web reference I think we'd be able to offer you alternate
solutions.

HTH,
Drew



Relevant Pages

  • Re: Consuming Web Service without Web Reference
    ... Eventhough I extracted schema from WSDL iam not able to call the web service. ... calling a web service than creating an xml and pushing it to the SOAP adapter. ... still have to generate a proxy and configure it in your send port. ... Initially I tried adding the Web reference using the WSDL file. ...
    (microsoft.public.biztalk.general)
  • Which protocol is used in web service?
    ... When I create a new web service, which transport protocol is used (SOAP, ... the following code creates a new web reference then ... Dim ServiceInstance As New com.abc.www.methodname ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Resending: Problems trying to build basic web service with cl
    ... What format is this XML stream from the Java program? ... Then they can consume the web service with the Java equivalent of a web reference. ... If it is not SOAP, then you're not going to be able to talk to the Java program with a SOAP Web Service! ...
    (microsoft.public.dotnet.framework.aspnet)
  • SOAP client Error says Path property must be set before calling the Send method ?
    ... I am trying to write a simple SOAP client in VB.net and wanted to ... test it using the SOAP demo server at ... I successfully created the web reference to the above site in VB.net. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: public function from class in other namespace inaccessible
    ... First off, if you want to use a class to pass data to a web service, you ... A web reference is not the same as a referenced assembly. ... > I added a new class test to the namespace of the webservice which I try to ... > public int TheInt ...
    (microsoft.public.dotnet.languages.csharp)