Create ProxyClass from WSDL

G

Guest

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
 
G

Guest

What doesnt work and what exactly is missed?
Have u tried to plug your proxy class and call methods?

Christian Havel said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top