XsdObjectGen classes in Web Service Client Proxy

From: dave v (daveV.0711.2828_at_noemail.nospam)
Date: 02/09/05


Date: Wed, 9 Feb 2005 09:53:03 -0800

Does anyone know how I can get a web service client proxy to use classes
created by XsdObjectGen.exe instead of WSDL.exe (or "Add Web Reference")?

It would be really nice to generate a class from a shema using XsdObjectGen
and use this as a parameter and/or return value of the web service. However,
when you build that, the client must work with the WSDL.exe generated proxy
class and not the more user-friendly XsdObjectGen class. I'm looking for a
performant and maintainable solution. A couple of things I've thought of:

1. Manually create/modify the proxy classes. I'm not sure if this is as
simple as substituting my XsedObjectGen class for the WSDL class in the
SOAPHttpClientProtocol subclass, but even so, it would decrease
maintainability (No more "Update Web Reference")

2. Create a helper function to serialize from the WSDL generated class and
deserialize into the XsdObjectGen class. I'm concerned about performance here.

Has anyone has experience with these methods or know a better way to let the
client work with XsdObjectGen classes?

Thanks,
Dave



Relevant Pages

  • RE: SOAP .Net client wrapper questions
    ... on the client side or the web service side? ... for the web service and that didn't produce any result. ... automatic Proxy setting detection, and that seems like it might be involved. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.webservices)
  • 1st invocation of Web Service from client is very slow - solution?
    ... people complaining that 1st invocation of a Web Service can be very ... writing the client proxy yourself). ... remote methods do not change signature, and get the proxy to compile ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Attachments.Add - Object reference not set to an instance of an object.
    ... webservice projects in a signle solution, Visual Studio does not create the ... webservice to the client project; ... Visual Studio created the proxy ... > Enable Microsoft Web Service Enhancement SOAP Extension are checked. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Windows Client using Generated WS Proxy
    ... > The solution I used was to generate one proxy using the tool and then I ... > we had very good designs on our webservices before we started client side ... >> that represent the data that goes to and from the web service. ... the typical sort of thing is a Customer or an Account. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Windows Client using Generated WS Proxy
    ... The solution I used was to generate one proxy using the tool and then I ... > How many people are using a windows client to talk to their web service? ... > that represent the data that goes to and from the web service. ... the typical sort of thing is a Customer or an Account. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)