Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2004

Tip: Looking for answers? Try searching our database.

Calling webservice in vb.net (using SOAP)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henrik - 03 Dec 2004 15:57 GMT
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
Drew Marsh - 03 Dec 2004 16:17 GMT
> 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
Dan Rogers - 03 Dec 2004 20:17 GMT
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?= <Henrik@discussions.microsoft.com>
Subject: Calling webservice in vb.net (using SOAP)
Date: Fri, 3 Dec 2004 07:57:02 -0800
Lines: 10
Message-ID: <FFB0B7E6-4F5F-4FC4-8729-C55973A27550@microsoft.com>
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!TK2MSFTNGXA03.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
Henrik - 04 Dec 2004 18:45 GMT
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)

> Hi Henrik,
>
[quoted text clipped - 46 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.