473,388 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Abstract classes defined is a wsdl file

Hi there,
I am using Visual Studio C++ .Net 2003 and am consuming a wsdl file using
the "Project->Add Web Reference" option. The wsdl file contains types that
are subclassed from other types, and in the generated .h file wsdl.exe is
creating lines like:

public __gc abstract class SomeClassName;

and then gives a C3150 error when compiling this ('abstract': '__gc' can
only be applied to a class, struct, interface, array or pointer).

If I remove the word "abstract" the error goes away.

Is this a fault in wsdl.exe in that it does not correctly handle abstract
types?

Thanks,
Allistar.
Nov 23 '05 #1
0 1074

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

Similar topics

17
by: Medi Montaseri | last post by:
Hi, Given a collection of similar but not exact entities (or products) Toyota, Ford, Buick, etc; I am contemplating using the Abstraction pattern to provide a common interface to these products....
9
by: Anon Email | last post by:
Hi people, I'm learning about header files in C++. The following is code from Bartosz Milewski: // Code const int maxStack = 16; class IStack
2
by: raj712k | last post by:
WseWsdl2.exe can be used to generate SoapClient classes from the WSDL. How can we generate abstract classes for WSE 2.0 based web service implementation based on the contracts specified in a WSDL...
2
by: svendtofte | last post by:
Hello, I've used wsdl.exe, to generate stub code for a WS at work. an example of the stub code is: ========================== /// <remarks/> public abstract class NavigatePublicationTarget :...
1
by: D Witherspoon | last post by:
Coming up with a scenario here. For example there is the standard .NET MailMessage class. I am creating a project (let's call it CommonBase) that has the following 2 classes ...
0
by: Jiho Han | last post by:
I have an abstract class and a couple of derived classes. I didn't like the default schema exposed by wsdl, so I decided to implement XmlSchemaProvider. The schema is exposed properly for the...
0
by: Jiho Han | last post by:
I have a web method that accepts an abstract class. The abstract class includes an XmlIncludeAttribute that specifies derived classes. Wsdl gets generated fine that includes both schema for the...
7
by: jason | last post by:
In the microsoft starter kit Time Tracker application, the data access layer code consist of three cs files. DataAccessHelper.cs DataAcess.cs SQLDataAccessLayer.cs DataAcccessHelper appears...
0
by: shreya | last post by:
Hi, I am new to wsdl.I am using weblogic server to generate a wsdl. I am writting my own inner abstract classes using schemas and then generating a wsdl file.In my schema I have a value as...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.