468,140 Members | 1,248 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

Web Service from WSDL

CJF
Is there a way to build a web service from an existing wsdl? I do not wish to
create a .Net web service client proxy from a wsdl, but an actual web
service. I tried using the wsdl.exe utility, but the output is class of type
SoapHttpClientProtocol and not WebService. It was my understanding that you
could create both client proxies and web services from an existing wsdl file?
If not, what's another way of creating a .NET web service that supports the
existing wsdl? I'm using VS 2005.

Thanks,
CJF
Jan 27 '06 #1
3 11663
CJF napsal(a):
Is there a way to build a web service from an existing wsdl? I do not wish to
create a .Net web service client proxy from a wsdl, but an actual web
service. I tried using the wsdl.exe utility, but the output is class of type
SoapHttpClientProtocol and not WebService. It was my understanding that you
could create both client proxies and web services from an existing wsdl file?
If not, what's another way of creating a .NET web service that supports the
existing wsdl? I'm using VS 2005.

Thanks,
CJF

Using wsdl.exe with "/server" parametr doesn't work? I didn't try it
yet, but documentation says :

/server
Generate an abstract class for an xml web service implementation using
ASP.NET based on the contracts. The default is to generate client proxy
classes.
Zdenek Drlik, MCP
Jan 27 '06 #2
CJF napsal(a):
Is there a way to build a web service from an existing wsdl? I do not wish to
create a .Net web service client proxy from a wsdl, but an actual web
service. I tried using the wsdl.exe utility, but the output is class of type
SoapHttpClientProtocol and not WebService. It was my understanding that you
could create both client proxies and web services from an existing wsdl file?
If not, what's another way of creating a .NET web service that supports the
existing wsdl? I'm using VS 2005.

Thanks,
CJF

The /server switch works in VS 2003' wsdl.exe. VS2005's wsdl.exe has
"/serverInterface" parameter instead.

Zdenek Drlik, MCP
Jan 27 '06 #3
CJF
I did run it with the /serverInterface option. I guess I'm suppossed to
create my own web service that implements the interface. Though, my concern
is the wsdl file generated by my .NET web service doesn't match the wsdl file
used to create the interface. I'm unsure as to what the implications are for
clients that use the original wsdl file as oppossed to the wsdl created by my
service. Why are the wsdl files different to begin with? Thanks.

"Zdenek Drlik" wrote:
CJF napsal(a):
Is there a way to build a web service from an existing wsdl? I do not wish to
create a .Net web service client proxy from a wsdl, but an actual web
service. I tried using the wsdl.exe utility, but the output is class of type
SoapHttpClientProtocol and not WebService. It was my understanding that you
could create both client proxies and web services from an existing wsdl file?
If not, what's another way of creating a .NET web service that supports the
existing wsdl? I'm using VS 2005.

Thanks,
CJF

The /server switch works in VS 2003' wsdl.exe. VS2005's wsdl.exe has
"/serverInterface" parameter instead.

Zdenek Drlik, MCP

Jan 27 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jerome Cohen | last post: by
7 posts views Thread by Jorgen Haukland, Norway | last post: by
reply views Thread by leslie_tighe | last post: by
4 posts views Thread by leslie_tighe | last post: by
3 posts views Thread by Jeremy Chapman | last post: by
reply views Thread by =?ISO-8859-1?Q?Jan_Thom=E4?= | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.