473,698 Members | 2,521 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Conventional C++ and Add Web Services reference errors

Hello everyone,

Background information:

OS: Win 2000 Server
Development environment: Microsoft C++ .NET, version 7.1.3088, BUT
code written in conventional C++

Problem:

We are working on a project written in conventional C++, that is using
MFC, COM (in ArcObjects, a GIS development tool) and OpenGL.
The project is compiled using .NET, and then we tried to add a Web
Reference to Web Services created using Axis. After adding the Web
Services reference, was necessary to rename the namespaces in the
*.wsdl file that was generated to the name of the Web Reference.
Then, when tried to recompile the project, we got the next errors:

-----------------------
Compiling...
StdAfx.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET
Server)
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\Platfo rmSDK\Include\o ledb.h(6360) : error C2011: 'ICommand' :
'struct' type redefinition
c:\projects\GIS \ROAMMFC_NET v1.0\Debug\esri core.tlh(15499) :
see declaration of 'ICommand'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\Platfo rmSDK\Include\o ledb.h(9113) : error C2011:
'ITableDefiniti on' : 'struct' type redefinition
c:\projects\GIS \ROAMMFC_NET v1.0\Debug\esri core.tlh(59106) :
see declaration of 'ITableDefiniti on'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\Platfo rmSDK\Include\o ledb.h(13374) : error C2011: 'IRow' :
'struct' type redefinition
c:\projects\GIS \ROAMMFC_NET v1.0\Debug\esri core.tlh(58111) :
see declaration of 'IRow'
-------------------

We guess the bottom line to all this is if we could use a conventional
C++ project to talk to the Web Services, or we need a managed C++
project? But, since we need to use conventional C++ project, is there
an alternative to talk to the Web Services (i.e., would SoapToolkit or
PocketSoap do a better job)?

Thank you and we would really appreciate any help.

Regards,
Doru
Nov 16 '05 #1
0 1314

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

Similar topics

0
3453
by: Amol Shambharkar | last post by:
Hello Everyone, I am hoping someone could help me out with this.I am using Visual Studio .NET 2003 to create a web application on a remote IIS 5.0 server using the File Share web access method.The problem is I get the following two errors everytime I try to create the application: Error 1: The web was created successfully, but an error occured trying to configure the application root of this web.Web projects may not operate correctly...
4
1408
by: Param R. | last post by:
Hi all, we recently upgraded our servers to 2003 and have begun seeing several problems. We have a web services that runs locally and is called by ..aspx pages of other websites. Ever since the upgrade we have been getting a ton of the following errors:- System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.Services.Protocols.SoapException: Server was unable to process...
1
3449
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm going wrong. The program has been written to do the following tasks: - Select remote server - Select from two specific services
2
1362
by: Brendan Reynolds | last post by:
When I run FxCop on an ASP.NET app that has a reference to the reporting services web reference, I get a very long list of 'errors' that are not in my code, but in the web service. As there isn't anything that I can do about these 'errors' is there a way to tell FxCop to ignore the reference? -- Brendan Reynolds
4
3030
by: Greg | last post by:
Hi, I am developing Pocket PC application in VB.NET. Within the application we are using web services developed by outsourced team. They developed the services in C#. After adding a web reference to web services in my Pocket PC app, I am not able to compile Smart device solution. The same web services are used by web application and they work fine there.
3
2653
by: J Chambers | last post by:
hey all, i'm having some troubles in the class generation (client) for some oblix web services. here's the scenario: we have two configs that we're dealing with in this particular case, one a test bed (for spike solutions, completely isolated), one for dev. as far as we know, we have the same software, servers and patches up and
3
5000
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : >************************************************************************ > <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _ > Public Function HelloWorld() As > <System.Xml.Serialization.SoapElementAttribute("return")> String
2
1588
by: prad | last post by:
Hi, I am working with webservices in asp.net framework 2.0. when i run the webservice it didnot give any errors and it was working well but when I add it to one of my projects as add web reference its giving the following error. ++++++++++++++++++++++++++++++++++++++++++++++++ Server Error in '/' Application. --------------------------------------------------------------------------------
6
1312
by: splendid9 | last post by:
Web Services: i hav a very basic question. i hav written a web service creating a new webservice proj along in my existing soloution... there r errors in the main proj,but the webservicer proj is perfect with no errors. i built it and did 'View in browser'.. i cud see the methods ..web methods...but how to add the reference(url) to my project. and i dont find any invoke button nywhere...is there any problem with my webservice or am i trying...
0
8611
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
9031
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...
0
7741
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
6531
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
5867
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
4372
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
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
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
2007
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.