🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.webservices.soap
3 messages
3 total messages Started by MAckel Wed, 16 Jan 2008 12:36
Webservices in CodeGear C++
#24
Author: MAckel
Date: Wed, 16 Jan 2008 12:36
2 lines
1235 bytes
Hello, I'm trying the CodeGear C++ demo version to experiment with WebServices, but something is wrong and I don't know if this is a limitation of the demo version. The help says to use "project > Add Web Reference", but this menu item does not exist. There is no "WSDL Importer" in the dialog "File > New > Other > WebServices". So, how do I construct a simple web service? Thank you, Marcos Ackel
Re: Webservices in CodeGear C++
#25
Author: Jean-Marie Babet
Date: Thu, 17 Jan 2008 00:54
21 lines
1535 bytes
Hello,

'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.
Re: Webservices in CodeGear C++
#26
Author: Bob Swart
Date: Thu, 17 Jan 2008 07:48
38 lines
2506 bytes
Hi Marcos,

> 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads