Ask a Question related to ASP.NET Web Services, Design and Development.
-
Raghu Dongur via .NET 247 #1
creating a proxy class for web service
hi,
I'm trying to create a proxy class in my asp.net project for a web service.
but,i have problem adding a web reference to my asp.net project through a wsdl file.
as below:
project--->add web reference--->[url]http://localhost/WFM/test.wsdl[/url]
The problem is it doesn't create source file.
I get an error message as:
Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
I tried executing WSDL.EXE from command prompt with WSDL file as input.
But it fails to create class file with an error message.
warning: no classes were generated.
please can some one help me as to find out what am i missing?
thanks
--------------------------------
From: Raghu Dongur
-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
<Id>+SHg4rMWrE2MBVu6JhL37Q==</Id>
Raghu Dongur via .NET 247 Guest
-
Web Service Proxy class
I created a Web Service that has a method that takes string arrays for ex: public void CalculateModel(string stringList1, string stringList2) {... -
Web Service generated proxy class
I created a Web Service that has a method that takes string arrays for ex: public void CalculateModel(string stringList1, string stringList2) {... -
creating proxy class from WSDL file
(Type your message here) HI, i have problem creating proxy class from VS.Net environment by referencing a WSDL file. I don't have .asmx file. I... -
Proxy class for an Axis Web Service
Hello All I am trying to develop the proxy class for an Axis Web Service which is based on Document/Literal binding. I have hand coded my WSDL and... -
How to change what the Web Service Proxy class inherits from?
I am successfully using SoapExtensionImporter to change how the web service proxy class is generated when I add web reference in VS. However, this... -
Michelle Hlaing #2
RE: creating a proxy class for web service
--------------------Hi Raghu,>From: Raghu Dongur via .NET 247 <anonymous@dotnet247.com>
>X-Newsreader: AspNNTP 1.50 (Matthew Reynolds Consulting)
>Subject: creating a proxy class for web service
>Date: Mon, 07 Jun 2004 07:58:52 -0700
>
>hi,
>I'm trying to create a proxy class in my asp.net project for a web service.
>but,i have problem adding a web reference to my asp.net project through a wsdl file.
>as below:
>project--->add web reference--->[url]http://localhost/WFM/test.wsdl[/url]
>
>The problem is it doesn't create source file.
>I get an error message as:
>Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.
>
>I tried executing WSDL.EXE from command prompt with WSDL file as input.
>But it fails to create class file with an error message.
>warning: no classes were generated.
>
>please can some one help me as to find out what am i missing?
>
>thanks
>--------------------------------
>From: Raghu Dongur
>
>-----------------------
>Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
>
><Id>+SHg4rMWrE2MBVu6JhL37Q==</Id>
>
Check to see that the wsdl has enough definitions to create a proxy. It should have
· Types- a container for data type definitions using some type system (such as XSD).
· Message- an abstract, typed definition of the data being communicated.
· Operation- an abstract description of an action supported by the service.
· Port Type-an abstract set of operations supported by one or more endpoints.
· Binding- a concrete protocol and data format specification for a particular port type.
· Port- a single endpoint defined as a combination of a binding and a network address.
· Service- a collection of related endpoints
Hope that helps,
Michelle
***Disclaimer: This posting is provided "as is" with no warranties and confers no rights.***
Michelle Hlaing Guest
-
eyal #3
Re: creating a proxy class for web service
check that in the WCF endpoint configuration you have binding="basicHttpBinding"
eyal Guest



Reply With Quote

