473,815 Members | 1,771 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 4138
"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
4852
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
3097
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
2284
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
1429
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
1343
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
5406
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
9737
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10673
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10430
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
10147
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
9227
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...
0
6899
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
5712
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4360
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3032
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.