473,837 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error in proxy class generation when using WSDL.exe of 2.0

Hi,

We were using .Net Framework 1.1 version of wsdl utility to generate proxy
classes for our ASP.Net 1.1 version. But now if I try to create proxy classes
for .Net Framework 2.0 version the classes are created but when I try to
consume the web service some extra events are being added which is creating
problems. What could be the problem.

Let me know if you need any further information.

Regards,
Sriram Mallajyosula
Feb 27 '07 #1
5 4140
"Sriram Mallajyosula" <MS***********@ nospam.nospamwr ote in message
news:96******** *************** ***********@mic rosoft.com...
Hi,

We were using .Net Framework 1.1 version of wsdl utility to generate proxy
classes for our ASP.Net 1.1 version. But now if I try to create proxy
classes
for .Net Framework 2.0 version the classes are created but when I try to
consume the web service some extra events are being added which is
creating
problems. What could be the problem.
The extra events are a feature. What problem do they cause?

John
Feb 27 '07 #2
Hi John,

The proxy classes are generated but when my ASP.Net application consumes
these classes I get compile time errors. Is there any option where I can
disable these events from generating. I mean I ill still use the wsdl.exe of
2.0 but also supporting the 1.1 version. Please get back to me if you need
any further information.

Regards,
Sriram Mallajyosula

"John Saunders" wrote:
"Sriram Mallajyosula" <MS***********@ nospam.nospamwr ote in message
news:96******** *************** ***********@mic rosoft.com...
Hi,

We were using .Net Framework 1.1 version of wsdl utility to generate proxy
classes for our ASP.Net 1.1 version. But now if I try to create proxy
classes
for .Net Framework 2.0 version the classes are created but when I try to
consume the web service some extra events are being added which is
creating
problems. What could be the problem.

The extra events are a feature. What problem do they cause?

John
Feb 28 '07 #3
"Sriram Mallajyosula" <MS***********@ nospam.nospamwr ote in message
news:8E******** *************** ***********@mic rosoft.com...
Hi John,

The proxy classes are generated but when my ASP.Net application consumes
these classes I get compile time errors. Is there any option where I can
disable these events from generating. I mean I ill still use the wsdl.exe
of
2.0 but also supporting the 1.1 version. Please get back to me if you need
any further information.
Can you please tell us which specific compile-time errors you're receiving?

I can't imagine any reason why you would receive compile-time errors. If I
see the errors, then I won't need to imagine...

John
Feb 28 '07 #4
Hi Sriram,

Have you resolved the issue now? If not, would you please past the specific
compile-time errors you're receiving for us? This is really help on
research. I think we will do further research on this.

Sincerely,
Wen Yuan

Mar 2 '07 #5
Hi Sriram,

I haven't heard from you two days. Have you resolved the issue? Please feel
free to reply me if you have any further issue. We are glad to assist you.

Have a great day.
Sincerely,
Wen Yuan

Mar 6 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3490
by: Benne Smith | last post by:
Hi, I have three enviroments; a development, a testing and a production enviroment. I'm making a big application (.exe), which uses alot of different webservices. I don't use the webservices by adding a WebReference, since it does not allow me to keep state (cookiecontainer) or to specify functions on the classes (like if i want to override the ToString() function on a class from my webservice). So the only way i can see how i can get...
3
2355
by: Ohad Young | last post by:
Hi, I have a webservice method that returns an instance of a custom class I created (e.g., bank account). The class definition in the webservice contains properties, overrides Object.ToString method and etc. However, the proxy created for the webservice contains a definition for this class without the code I wrote. Instead it contains only public fields. I understand the reason, interoperability with none .net clients, but is there...
3
4855
by: Neter Smith | last post by:
I have run into a problem when trying to import a WSDL reference under VS 2003 and 1.1 of the framework. It appears as if it is in the generation of the proxy that things are failing. When I add the reference, I get the following error: C:\Inetpub\wwwroot\WebServices\samples\WSDL\dotnet\OblixSampleForDotNetWSDL\Web References\localhost\Reference.map(1): Custom tool error: Unable to import WebService/Schema. A schema with the namespace...
7
3098
by: Jorgen Haukland, Norway | last post by:
Hi, I have created a Java webservice which runs in IBM WebSphere appserver. I take the WSDL-file and create a VS.NET WinForm application and calls the service running on my PC and everything works fine. So I deploy the webservice on a remote machine (Linux box) and I get an error when calling the service. BUT: I can retrieve the WSDL and make a webreference in my VS.NET project, so obviously I (or more correct: My VS.NET project) am...
1
2286
by: Sarge | last post by:
Hi all, tough question. Apologies for the cross posting but it is an interesting architectural problem and I think deserves a wide audience. What is the best way to extend web service proxy classes so we can add our own methods and properties? We have an application that passes a deep hierarchical structure (four nodes deep) between a webservice and a smart client. We have built the web service using the Contract First Web Service...
1
1430
by: Tyler Carver | last post by:
I have created a web reference in a 2005 web project and need to change out the generated complex class with the business oject that we have already created. In a library project there is a code file for the proxy class where I can make the change. However, there is no such file in a Web Project as this class is generated on the fly. So what I need to do is the following: I have a business object Foo. My Webservice has a method...
1
2865
by: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive types and of more elaborate classes implementing IXmlSerializable. The resulting WSDL file for the webservice has two separate schemas in its <types> sections, and the client proxy (generated with wsdl.exe) is missing the definitions of the...
0
1344
by: Ashish | last post by:
Iam working on a project that would use web services to transfer business objects around. I worked a little bit with the new SchemaImporterExtension class to tweak the proxy generation, and Iam sucessfully able to share the Business Types. So far so good.. My Class structure is somewhat like
3
5407
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate proxy classes (using WSDL) which consume more hard disk space & resources? For e.g. consider the following code which exists in a user-defined class file: Imports System Imports System.Data
0
9682
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
10562
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
10617
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
10263
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...
0
9391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7803
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
6989
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
5842
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4036
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.