473,699 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:complexTyp e name="ExchangeL ogData">
<xsd:sequence >
<xsd:element name="severity" type="xsd:strin g" minOccurs="0"/>
<xsd:element name="text" type="xsd:strin g"/>
<xsd:element name="url" type="xsd:strin g" minOccurs="0"/>
<xsd:element name="id" type="xsd:strin g" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType >
<xsd:complexTyp e name="ExchangeF aultData">
<xsd:sequence >
<xsd:element name="faultText " type="xsd:strin g"/>
<xsd:element name="faultUrl" type="xsd:strin g" minOccurs="0"/>
<xsd:element name="faultDeta il" type="ExchangeL ogData" minOccurs="0"
maxOccurs="unbo unded"/>
</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 2182
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:complexTyp e name="ExchangeL ogData">
<xsd:sequence >
<xsd:element name="severity" type="xsd:strin g" minOccurs="0"/>
<xsd:element name="text" type="xsd:strin g"/>
<xsd:element name="url" type="xsd:strin g" minOccurs="0"/>
<xsd:element name="id" type="xsd:strin g" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType >
<xsd:complexTyp e name="ExchangeF aultData">
<xsd:sequence >
<xsd:element name="faultText " type="xsd:strin g"/>
<xsd:element name="faultUrl" type="xsd:strin g" minOccurs="0"/>
<xsd:element name="faultDeta il" type="ExchangeL ogData" minOccurs="0"
maxOccurs="unbo unded"/>
</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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
10994
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods (and my webmethods) by Java (Apache toolkit) instead of using WSDL. What should I do? Thanks a lot! Raymond
7
4329
by: MarkoH | last post by:
Wsdl.exe /server creates abstract class derived from WebService. Is there a way to create this class at runtime based on some WSDL file given at runtime ? What would be even better - creating concrete class but with empty method implementation of course since WSDL does not provide any info on implementation. Thanks M.
0
1633
by: Dhananjayan | last post by:
Hi, I have a webservice(eg.IStringServicePort) running on Axis, iam able to create a java client for the same and invoke the service and obtain the result. I wanted to create a .Net client(C#) for the same..For that I did the following thing I added a web reference for the service thru "Add Web Reference", It got added successfully, But iam unable to find the web reference in my c# class. Because of that iam not able to invoke the...
3
2197
by: Dhananjayan | last post by:
Hi, I have a java webservice running on Axis, Iam able to create a java client to invoke the webservice and obtain the result. But iam not able to invoke the service from .Net client.. Here are the steps i followed to create a .net client I created a web reference("NetClient") for a webservice running in Axis thru "Add Web Reference", it created succesfully. The next step I should do in order to invoke the service is to
1
11469
by: Chenzo | last post by:
I have an issue where the provided .wsdl file is being generated incorrectly with the WSDL.exe tool. I have to use digital client certificates for authentication and it has been determined...by another business...that the proxy class was generated by the wsdl.exe tool incorrectly for use with the client certificates. The solution was stated to be to 'manually write a proxy class without using the wsdl.exe tool'. I'm not sure how to do...
0
1800
by: DotDidIt | last post by:
Hi Everybody! I developed a Web service with IBM RAD v 6.0.1. After creating the WSDL file i have tried to develop a .Net client. But by using wsdl.exe (1.1.4322) to create a .net c# proxy i get the following error message: Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com' is not available to be referenced in this schema. Schema parsing error Namespace 'http://session.ejbs.cac.commerce.com'
1
2800
by: Rubber_Soul | last post by:
Hi, I create an application in VS2005 C#. There is some data which I send to a WebService to a company X. In my project I've added a Web reference to their WebServices and everything works great. But now i have to create my own WebService which should works with requests sending from their applications. They (company X) sent me a WSDL file witch contains all classes and method that I should to implements. And the problem is, how to do...
4
2805
by: Benny Dein | last post by:
Hi I want to create a servlet or something similar by which im able to create virtual webservices. Lets say i would like to create a webservice with a method called 'getDate' which returnes the current date. This could be done by making a wsdl file (or whatever the name is) and via a wizard in some java tool make a real webservice. This webservice would be static since it creates a class in which i can make my code to return the
0
2676
by: Eternal Snow | last post by:
Hi all. I have some trouble by using WCF while creating WSDL. Please follow that: 1 Create a WCF service in EXE mode (not tried in IIS), add a basicHTTPBinding and a mexHttpBinding. 2 Run it, and get the WSDL of your service. You should got something like this: <?xml version="1.0" encoding="utf-8" ? - <wsdl:definitions name="Service_WCF" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"...
0
8630
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9055
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8944
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8899
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4391
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4638
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2016
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.