473,513 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating a Web Service from a WSDL file

Hi,
I've got a WSDL file that I need to use to create a Web Service from, I have
managed to create the client side of the app using the generated .cs file
that WSDL.exe creates.
Does anyone know how I can create this Web Service from the the WSDL file?

Any help or info is appreciated.
Thanks

Aug 6 '07 #1
2 4621
Hello BillB,
Hi,
I've got a WSDL file that I need to use to create a Web Service from,
I have
managed to create the client side of the app using the generated .cs
file
that WSDL.exe creates.
Does anyone know how I can create this Web Service from the the WSDL
file?
Any help or info is appreciated.
Thanks
using the same tool (wsdl.exe) you can create a service interface (/serverInterface).
If you then create a new webservice project and import the generated cs file
into that project you can set the inheritace of the webservice class to:

public class MyServiceName : WebService, IMyGeneratedServiceInterface
{

}

if you're working in VS2005, you can then hit ctrl-. with your cursor on
the IMyGeneratedServiceInterface and visual studio will present you an option
to generate empty methods for the interface.

Jesse
Aug 6 '07 #2
BillB wrote:
Hi,
I've got a WSDL file that I need to use to create a Web Service from, I
have
managed to create the client side of the app using the generated .cs file
that WSDL.exe creates.
Does anyone know how I can create this Web Service from the the WSDL file?

Any help or info is appreciated.
Thanks
Use the wsdl.exe command line tool with the /serverInterface option to
generate the server code from WSDL. For more info see
http://msdn2.microsoft.com/en-us/lib...b6(VS.80).aspx.

You might also be interested in the WSCF tool from thinktecture,
available at
http://www.thinktecture.com/resource...-software/wscf.
Basically does the same thing as command line wsdl.exe, but with a GUI.
--
Tom Porterfield
Aug 6 '07 #3

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

Similar topics

0
1928
by: Dave | last post by:
Hi, If anyone could help with this, I would greatly appreciate it! I've created my own WSDL file and referenced an XSD file too. I've generated a service side interface using wsdl /server, and...
0
1468
by: suresh | last post by:
Hello All, Iam writing a wsdl file using the Servicedescription class.The document I get is a well formed xml document.But some how when I try to add this wsdl file as a webrefernce to another...
3
2057
by: Dee | last post by:
I dont have much experience with wsdl's, but I am currently producing asmx web services, for c# dot net projects. All the project files are stored in souresafe, including the wsdl files. Each...
2
2040
by: pronto | last post by:
Hi all. I created simple web service with C# and run it on Win2000 XP sp2. Service has two simple . I test it with my C# client and IE. Now I want to create VC++ 6 application and talk to web...
2
6716
by: Greg Decos | last post by:
I was given a DISCO and WSDL file and a url in order to call a web service (not written in dot net) I am not sure what to do this information. I could code the request by building a sope xml...
0
1700
by: Andreas | last post by:
Hi, Im trying to consume a webservice described by the WSDL below, however When i try to add the WSDL it does not work, tried to run it through WSDL.EXE It validates in XMLSpy, but WSDL.exe...
13
8443
by: Edje.Rommel | last post by:
Hello, I've have a problem with a webservice. I just want to validate a VAT number by country code and VAT numer. The return value should be like "it's valid" and/or the name where it's...
2
2023
by: SteveChamp | last post by:
I have been experimenting with .Net web services for a while and have a few questions about the schema in the automatically generated WSDL file, and whether its content can be manipulated...
0
1110
by: Salem | last post by:
hi, i need to programmatically get the wsdl file of a certain web service to create the corresponding proxy on the fly. knowing the service i want to use, how can i get its wsdl file and create the...
0
7175
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
7391
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,...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3247
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.