Re: .NET type in Web Service Proxy class

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: MIGUEL (MIGUEL_at_discussions.microsoft.com)
Date: 10/21/04


Date: Thu, 21 Oct 2004 02:19:04 -0700

Hi all,

And If I want this class to be in another assembly, referenced by the web
service?

I mean, in my case, the class should not be in the webservice. Should be
encapsulated in a DDL which is referenced by the Web Service. Any ideas?

"Sami Vaaraniemi" wrote:

> Use the XmlInclude attribute and a wrapper class. For more details, see
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;326792
>
> Regards,
> Sami
>
> "Paul Janssen" <paul.janssen@camtronics.com.REMOVE_THIS_PART> wrote in
> message news:C45594DF-1210-4619-A6AE-ED637DEA8063@microsoft.com...
> > If I create a web service with web methods containing enum types these
> types
> > are automatically created in the proxy class when I add a web reference to
> a
> > client. Is there a way to automatically generate an enum type in the
> proxy
> > class if the type is defined in the web service but not used as a
> parameter
> > in any of the web methods?
>
>
>



Relevant Pages

  • Re: enum variables and extern
    ... I then have a header file, data.h, which I include in every file in ... defined an variable of type myenum in data.c: ... Now when I try to reference enum_var in data.h, ... about enum types and/or extern. ...
    (comp.lang.c)
  • Re: Inheriting Consumed WebService Class
    ... > your web reference, your proxy class is generated from the WSDL's XML ... > and sending it across the wire back you client. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Inheriting Consumed WebService Class
    ... The first thing to remember is that your proxy class (i.e. what you've ... your web reference, your proxy class is generated from the WSDL's XML ... and sending it across the wire back you client. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: .NET type in Web Service Proxy class
    ... > If I create a web service with web methods containing enum types these ... > are automatically created in the proxy class when I add a web reference to ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Returning Dataset or Datatable via Web Service
    ... Reference is done, if not before. ... proposed solution requires direct involvement in the construction of the ... Basically, what you see as 'training wheels' I (and others I am sure, as ... The edited proxy class will be destroyed as soon as an Update Web ...
    (microsoft.public.dotnet.framework.webservices)