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 / November 2004

Tip: Looking for answers? Try searching our database.

Dynamic Webservice call

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim - 29 Nov 2004 09:15 GMT
Hi all,

For my current project i want to call a webservice dynamically. How to go
about this? Maybe build a dynamic proxy?

cheers
Jim
richlm - 29 Nov 2004 21:21 GMT
Would UDDI help in your scenario?
Dan Rogers - 30 Nov 2004 01:03 GMT
Hi Jim,

When you say dynamic, what do you mean? Do you want to discover a web
service, find it's WSDL, build a proxy and make a call against an unknown
method (also dynamically discovered) after your code is compiled?  I always
find this scenario interesting - it seems useful for building testing tools
that have no compile phase, but it doesn't seem very useful for many web
service application scenarios.  The reason is that it's hard to imagine
discovering a useful web service that does something you needed inside of
your application without there being some well known aspects of the
discovered service.  The things that can differ are URL (endpoint
location), inputs/outputs, method names, and method behaviors, by version
of the request.

For non-trivial cases, (e.g. pass in some strings and get back some
strings) creating the test data to be used to call a service that you have
only now just discovered can be daunting.

That all said, you may want to get the indigo PDC bits.  These let you
discover a web service by knowing the URL of it's descriptive metadata
(e.g. WSDL), and then create a dynamic proxy (all without you invoking the
compiler) that has a full fidelity signature that matches the methods on
the remote service.

Regards

Dan Rogers
Microsoft Corporation

--------------------
>From: "Jim" <peesa_govno@hotmail.com>
>Subject: Dynamic Webservice call
[quoted text clipped - 9 lines]
>NNTP-Posting-Host: ppp199-36.lns1.syd2.internode.on.net 203.122.199.36
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15
.phx.gbl
>Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:26846
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
[quoted text clipped - 5 lines]
>cheers
>Jim

Rate this thread:







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.