HighTechTalks DotNet Forums  

Creating a Web Service (Service, not Client) from WSDL

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss Creating a Web Service (Service, not Client) from WSDL in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bert Leu
 
Posts: n/a

Default Creating a Web Service (Service, not Client) from WSDL - 11-23-2007 , 12:49 PM






Hi

I understand, that the "normal way" in creating Web Services is:

Creating Web Service --> WSDL --> Creating Client

Unfortunately, I have to create a Web Service (Service, not Clinet) from an
existing WSDL.

Can somebody tell me, what's the right way to do this?

Any hint is much appreciated.

Bert Leu



Reply With Quote
  #2  
Old   
Cowboy \(Gregory A. Beamer\)
 
Posts: n/a

Default Re: Creating a Web Service (Service, not Client) from WSDL - 11-23-2007 , 01:59 PM






I don't think there is a tool to do it for you, although creating the client
will help you rough in any objects you have to use and give you the method
call for the service, so you can copy it into your service.

MapForce (Altova) can also be used to create services from the WSDL.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
Quote:
Think outside the box!

*************************************************
"Bert Leu" <bollbo (AT) swissonline (DOT) ch> wrote

Quote:
Hi

I understand, that the "normal way" in creating Web Services is:

Creating Web Service --> WSDL --> Creating Client

Unfortunately, I have to create a Web Service (Service, not Clinet) from
an existing WSDL.

Can somebody tell me, what's the right way to do this?

Any hint is much appreciated.

Bert Leu




Reply With Quote
  #3  
Old   
Nick Locke
 
Posts: n/a

Default Re: Creating a Web Service (Service, not Client) from WSDL - 11-28-2007 , 08:22 AM



Take a look at wsdl.exe which lives down in the .NET folders. Throw your
wsdl at it, making sure to specify the /si parameter and you will get a
service (which I think is what you want). Actually you will get an
interface class which you can then use in another class which implements
that interface.

Basically, you will end up with all the methods that you need to react when
the service is called - you just need to add your functionality.

wsdl.exe is a bit of a picky beast - shout if you get stuck.

Nick

"Bert Leu" <bollbo (AT) swissonline (DOT) ch> wrote

Quote:
Hi

I understand, that the "normal way" in creating Web Services is:

Creating Web Service --> WSDL --> Creating Client

Unfortunately, I have to create a Web Service (Service, not Clinet) from
an existing WSDL.

Can somebody tell me, what's the right way to do this?

Any hint is much appreciated.

Bert Leu




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.