473,881 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wsdl.exe bug for .Net v1.1.4322?

Hi,
When I attempt to compile C# code generated via wsdl.exe for a wsdl that was
supplied to me I get the following errors when I compile the code "
C:\dev\csharp_a vago>csc TaskWithdraw.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

TaskWithdraw.cs (46,22): error CS0542: 'TaskWithdraw': member names cannot be
the
same as their enclosing type
TaskWithdraw.cs (36,14): (Location of symbol related to previous error)

Now this turns out be a problem within the wsdl file i.e it seems that one
cannot have a name literal for "Operation" the same as the "Service" name
literal.

The wsdl validates ok and it also it validates & compiles ok when I use
Apachae AXIS WSDL2Java. Is this a bug with wsdl.exe?
Nov 23 '05 #1
0 1017

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

Similar topics

3
4025
by: Jimbo | last post by:
Hi, I am new to web services and am trying to set up a basic service using C# I am trying to run wsdl.exe on my machine to generate a proxuy class for my service. However, when running wsdl from the command line I get an error report along the lines of; 'The document is not a recognised document type...' 'There is an error in XML Document (1,1)...'
1
9910
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or more operations were skipped. Warnings were encountered. Review generated source comments for more details.
0
1148
by: Chris | last post by:
Please help. I have written an application in VB.NET that communicates to an XML Web Service (a Web Sphere site). The WSDL client class where created using WSDL command. (wsdl /language:VB /out:myProxyClass.vb http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL). Here is the code for the class: The http://hostServer/WebserviceRoot/WebServiceName.asmx replaced the
4
2737
by: Brian | last post by:
I am trying to use a web service from a non Microsoft product. When I do a "Add Web Reference" from the Visual Studio dialog box, a request is generated and received by the web services supplier. This request contains information in the "Authorization:" header. Valid WSDL is returned and the dialog box correctly shows the services and methods available. However, a second request is also sent to the WS supplier for the same information. This...
1
6416
by: billa1972 | last post by:
Hi, I am trying to hook into Yellow Freight's rating webservice. Below is the wsdl. When i try and create a proxy file with wsdl.exe i get the following errors, see below. Also, when i reference this wsdl in .NET it seems to do it fine, yet there are no objects to reference except RateQuoteBeanService. In the WSDL it looks like there should be getRateQuote, and QUOTEREQUEST, etc.
0
4981
by: Howard | last post by:
I am having a devil of a time getting WSDL.EXE to consume a WSDL file that describes a web service (known as AXL) on a Cisco phone switch. The WSDL file references four schemas and (I believe) two namespaces via imports and includes. If anyone can help me look at the actual files, I'll be more than happy to provide them. What follows is the text of a post on a Cisco programmers forum that describes the problem I'm having. I'm posting...
0
1830
by: Oleg Ogurok | last post by:
Hi all, One of my developers is having this problem. His asmx and asmx.cs files are good. However, when he launches the web service page in IE, he's not getting the list of web methods. His WSDL output is always empty, the kind you get when you add a brand new ASMX file to a project. What's really weird is that other users don't have this problem with the same solution (it's under source control, and we've compared files). I even...
5
4922
by: CindyRob | last post by:
Using .NET framework 1.1 SP1, .NET framework SDK 1.1 SP1, Visual Studio .NET 2003, hotfixes 892202 and 823639. I create a proxy class using wsdl.exe, and in the serialized XML request, I see that any elements that are nested elements in the schema (not global elements) have their namespaces set to the null namespace. I can see that the proxy classes have serialization attributes specifying these nested elements as unqualified: ///...
3
9442
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
0
9929
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
9776
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
10403
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
9555
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
7112
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
5781
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...
1
4597
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
2
4196
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3225
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.