473,394 Members | 1,965 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,394 software developers and data experts.

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 11846
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
7
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
4
by: leslie_tighe | last post by:
Hello, I have a webservice running on a J2EE server created with Axis 1.2.. I have a client that I am building in .net that needs to consume this webserivce and am having a bit of trouble. I have...
4
by: Jay | last post by:
Hello all, I was wondering if someone can point me to a tutorial that show me how I can set up a web service that can listen for me to send a POST from a client? like so Client sends http...
2
by: quortex | last post by:
Hi all, I have written a web service using the .net framework 2 and Visual Studio 2005. I consume the managed service by native C++ using the "add web reference" feature. This obviously shells...
3
by: GT | last post by:
I have a .NET client that consumes an Axis web service. A change was made recently to the AXIS web service, and ever since then my .NET proxy class has been throwing an InvalidCastException. The...
2
by: BluNuit | last post by:
I have a simple c# app that calls a Java (AXIS) web service to perform some operations. The call works fine (the java code fires and the operations are executed), but the response is always null. ...
3
by: Jeremy Chapman | last post by:
I've writtin a very simple web service in axis which returns an array of classes. I consume it in a .net app. When receiving the response, my .net app generates an error "Cannot assign object...
0
by: =?ISO-8859-1?Q?Jan_Thom=E4?= | last post by:
Hi, I've been trying like a madman to make my WSDL work with .net, but it seems I am out of luck. Whenever I add a service reference to Visual C#, the code gets generated fine, however all...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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,...
0
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...

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.