By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,969 Members | 2,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,969 IT Pros & Developers. It's quick & easy.

Calling webservice in vb.net (using SOAP)

P: n/a
Hi all,,,

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... What options does I else have??
I've been told that i've to use SOAP, to connect to it, but how??

Are there any good documentation for that?? all the examples that i've
found, is using web-refference..

Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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,
Dre

Nov 21 '05 #2

P: n/a
Hi Henrik,

You need to get a copy of the WSDL description for the service. It is
possible that someone has either disabled automatic documentation (a config
option in ASP.net) or that the service was not built using a tool that
provides runtime discovery services. Your best bet is to contact the
party who runs/owns the web service, and tell them that you want to become
a calling partner and will need either their proxy logic, or their web
service description.

Regards
Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Calling webservice in vb.net (using SOAP)
thread-index: AcTZULrmmoL5N08bQPOghEvkcVKBkQ==
X-WBNR-Posting-Host: 212.130.64.34
From: =?Utf-8?B?SGVucmlr?= <He****@discussions.microsoft.com>
Subject: Calling webservice in vb.net (using SOAP)
Date: Fri, 3 Dec 2004 07:57:02 -0800
Lines: 10
Message-ID: <FF**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7793
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi all,,,

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... What options does I else
have??
I've been told that i've to use SOAP, to connect to it, but how??

Are there any good documentation for that?? all the examples that i've
found, is using web-refference..

Thanks

Nov 21 '05 #3

P: n/a
Hi Drew and Dan,,,

Thank you both :o)

It was the WSDL description i need, to get the connection..

Now i just have to find out, what to do with the incomming data :o)

"Dan Rogers" wrote:
Hi Henrik,

You need to get a copy of the WSDL description for the service. It is
possible that someone has either disabled automatic documentation (a config
option in ASP.net) or that the service was not built using a tool that
provides runtime discovery services. Your best bet is to contact the
party who runs/owns the web service, and tell them that you want to become
a calling partner and will need either their proxy logic, or their web
service description.

Regards
Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Calling webservice in vb.net (using SOAP)
thread-index: AcTZULrmmoL5N08bQPOghEvkcVKBkQ==
X-WBNR-Posting-Host: 212.130.64.34
From: =?Utf-8?B?SGVucmlr?= <He****@discussions.microsoft.com>
Subject: Calling webservice in vb.net (using SOAP)
Date: Fri, 3 Dec 2004 07:57:02 -0800
Lines: 10
Message-ID: <FF**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7793
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi all,,,

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... What options does I else
have??
I've been told that i've to use SOAP, to connect to it, but how??

Are there any good documentation for that?? all the examples that i've
found, is using web-refference..

Thanks

Nov 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.