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 / May 2005

Tip: Looking for answers? Try searching our database.

How Can VS IDE discover a Web Service (I need a professor)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Allen St.Clair - 27 May 2005 09:34 GMT
Hello.

Now, I need to create SOAP package manually. But I dunno how to let VS IDE
get the descriptions of my Web Service.

For example, there is a Web Service (a.asmx) and some method in it. When I
"Add Web Reference" in VS IDE, what will be post to server and what should
be return. Give me a example. Thx~.
Allen St.Clair - 27 May 2005 09:57 GMT
I've tried to use sniffer when "Add Web Reference". There are 3 HTTP-Get
(get the amx, get the disco, get the wdsl) but no response from IIS.

I still dunno how the IDE get the description of an asmx file (what methods
included and the type of each parameters, what structure and enum included
etc.)
Sami Vaaraniemi - 27 May 2005 12:07 GMT
> I've tried to use sniffer when "Add Web Reference". There are 3 HTTP-Get
> (get the amx, get the disco, get the wdsl) but no response from IIS.
>
> I still dunno how the IDE get the description of an asmx file (what
> methods included and the type of each parameters, what structure and enum
> included etc.)

The IDE loads the WSDL file which describes the methods (or messages, to be
exact), types and parameters of the Web Service. It probably uses the
ServiceDescriptionImporter class to generate code based on the WSDL. At
least this is how the command line wsdl.exe tool does it. The
ServiceDescriptionImporter class is public so you can use it too if you want
to e.g., create a Web Service proxy at run-time.

Regards,
Sami

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.