'Add Web Reference' probably refers to Delphi.NET or C#. For C++, you
typically use File|New|Other|WebServices|WSDL Importer.
Alternatively, you can also use the command line WSDL importer -
WSDLImp.exe - with the -C+ option. For example,
> WSDLImp -C+ http://developer.ebay.com/webservices/latest/eBaySvc.wsdl
The above will generate eBaySvc.h + eBaySvc.cpp that you can add to a C++
project.
If none of the above works for you, please let me know the version of the
product and I'll ask if WebServices is included. This feature of often
enabled/disabled based on SKU.
Cheers,
Bruneau.
> Hello, I'm trying the CodeGear C++ demo version
Which C++ demo version are you talking about exactly? Turbo C++? Or the
CodeGear C++Builder 2007 trial version perhaps?
> The help says to use "project > Add Web Reference", but this menu item does not exist.
That's a menu option to *import* a web service in a .NET project, like
Delphi for .NET or C#. That has nothing to do with creating a web
service in C++ (which is Win32 only by the way)
> There is no "WSDL Importer" in the dialog "File > New > Other > WebServices".
Although it's a bit strange that this is missing, the WSDL Importer is
used to *import* a web service in a Win32 project. And I have the
feeling you wanted to create a web service (not import and use one), right?
> So, how do I construct a simple web service?
Try to do File | New - Other, go to the Web Services category of the
Object Repository and select the SOAP Server Application icon. That
should give you a dialog to create a new web service.
If you want to import a web service instead of creating one, you need
the WSDL Importer indeed. See also one of my articles about this using
C++Builder at http://www.drbob42.com/examines/examin44.htm
> Thank you, Marcos Ackel
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml