473,387 Members | 1,903 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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~.
Nov 23 '05 #1
4 1520
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.)
Nov 23 '05 #2
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.)
Nov 23 '05 #3

"Allen St.Clair" <al************@msn.com> wrote in message
news:eE*************@TK2MSFTNGP12.phx.gbl...
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
Nov 23 '05 #4

"Allen St.Clair" <al************@msn.com> wrote in message
news:eE*************@TK2MSFTNGP12.phx.gbl...
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
Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: James Dixon | last post by:
I have created a windows service in C#, .net framework 1.1 The service makes a web request using the mshtml.HTMLDocument.CreateDocumentFromURL() function Because this is not using...
1
by: Hank | last post by:
I am writing a windows service in C#.NET which will manage image capturing devices, when client connects to the service, at some point the service need to expose a device dialog to the client for...
0
by: Jason Shohet | last post by:
I've got web services that work fine on a machine on our network, but not a single IIS box in our DMZ, neither 2003 or 2000. I don't have remote access to these machines, so I have to deploye with...
1
by: RaggiHolm | last post by:
I am writing a service that I want to be able to display "debug" information on a desktop window. I have the following code that displays the form (when service is properly set up) and the service...
1
by: mithu | last post by:
I have a web service(C#) which involves processing lot of information thru a third party component. I have couple of issues with my web service. Issue 1: My web service calls a third party...
1
by: Lee Greco | last post by:
I'm looking for some advice on how to proceed. Here's the scenario: I've got to develop a high availability VB.Net web service that basically acts as a middle man between the web service...
1
by: Daniel | last post by:
what permissions does a windows service need to execute another process? System.Diagnostics.Process process = System.Diagnostics.Process.Start(info); just local administrator? any specific...
0
by: Brian Parker | last post by:
I created a new solution with 2 projects: a) A C# Web Service that pauses for 15 seconds then returns a string. b) A C# Web Application that calls the web service and displays the string. ...
5
by: Reddy | last post by:
I am running process.sart to run gpg.exe to encrypt files. It's working fine with console application. When i use same code in windows service. It's not working. It's not even throwing...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.