wsdl.exe ignores types not used in any methods
when I compile my wsdl-file containing complex types that are not used
in any of the web services methods (neither as in- or as
outparameters) they are removed in the generated proxy class.
Why's that and how do I tell wsdl.exe to include everything in the
RE: wsdl.exe ignores types not used in any methods
One thing you could do is generate your own proxy class, instead of relying
on the as-built proxy. An easy way to do this is to generate classes using
XSD.exe or XsdObjectGen, and then modify the generated proxy by commenting
out the clases that are generated after the methods. Then add the
appropriate project reference or "using/imports" notation in the proxy
file, and save it as a part of your project's source.
This would give you access to all of the classes/types that your schema
Hope that helps,
>From: firstname.lastname@example.org (Nicklas)
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: wsdl.exe ignores types not used in any methods
>Date: 20 Feb 2004 06:24:34 -0800
>Message-ID: <email@example.com >
>Content-Type: text/plain; charset=ISO-8859-1
>X-Trace: posting.google.com 1077287074 21782 127.0.0.1 (20 Feb 2004
>NNTP-Posting-Date: Fri, 20 Feb 2004 14:24:34 +0000 (UTC)
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>when I compile my wsdl-file containing complex types that are not used
>in any of the web services methods (neither as in- or as
>outparameters) they are removed in the generated proxy class.
>Why's that and how do I tell wsdl.exe to include everything in the
|All times are GMT. The time now is 08:04 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.