471,627 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

Create ProxyClass from WSDL

Hi,

I create a C# class from a WSDL file using the tool WSDL.exe from the .NET
(V1.1) SDK.

Unfortunately not all members from the WSDL file are created in the C# class.
Following you find the missing datatypes from the WSDL file:

<xsd:complexType name="ExchangeLogData">
<xsd:sequence>
<xsd:element name="severity" type="xsd:string" minOccurs="0"/>
<xsd:element name="text" type="xsd:string"/>
<xsd:element name="url" type="xsd:string" minOccurs="0"/>
<xsd:element name="id" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ExchangeFaultData">
<xsd:sequence>
<xsd:element name="faultText" type="xsd:string"/>
<xsd:element name="faultUrl" type="xsd:string" minOccurs="0"/>
<xsd:element name="faultDetail" type="ExchangeLogData" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

What do I have to do to add these datatypes to the C# class?
Thanks
Christian
Feb 20 '06 #1
1 2122
What doesnt work and what exactly is missed?
Have u tried to plug your proxy class and call methods?

"Christian Havel" wrote:
I create a C# class from a WSDL file using the tool WSDL.exe from the .NET
(V1.1) SDK.

Unfortunately not all members from the WSDL file are created in the C# class.
Following you find the missing datatypes from the WSDL file:

<xsd:complexType name="ExchangeLogData">
<xsd:sequence>
<xsd:element name="severity" type="xsd:string" minOccurs="0"/>
<xsd:element name="text" type="xsd:string"/>
<xsd:element name="url" type="xsd:string" minOccurs="0"/>
<xsd:element name="id" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ExchangeFaultData">
<xsd:sequence>
<xsd:element name="faultText" type="xsd:string"/>
<xsd:element name="faultUrl" type="xsd:string" minOccurs="0"/>
<xsd:element name="faultDetail" type="ExchangeLogData" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

What do I have to do to add these datatypes to the C# class?
Thanks
Christian


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Feb 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by MarkoH | last post: by
reply views Thread by DotDidIt | last post: by
4 posts views Thread by Benny Dein | last post: by
reply views Thread by leo001 | last post: by

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.