Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borland C++ Builder and WSDL client

802 views
Skip to first unread message

pierluig...@gmail.com

unread,
Jan 16, 2007, 2:14:29 PM1/16/07
to
Hi,
I have a web service (developed in Java Axis under Tomcat) and I like
to write a client from the WSDL using Borland C++ Builder 6.
Anybody can help me or give some simple example project? I have tried
to use WSDL importer but I do not succeed to make to work it!

Thanks

Bob Swart

unread,
Jan 17, 2007, 1:25:08 AM1/17/07
to
Hi pierluig...@gmail.com,

See articles like http://www.drbob42.com/examines/examin44.htm and
http://www.drbob42.com/examines/examin32.htm for examples of using the
WSDL Importer wizard and command-line importer.

What are the problems you are having?

Groetjes,
Bob Swart

--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml
New Delphi 2006 Courseware e-books at http://www.eBob42.com/courseware

pierluig...@gmail.com

unread,
Jan 17, 2007, 3:23:02 AM1/17/07
to
I follow the link example: I have generated interface with WSDL
importer and than I included .cpp and .h on the main project. In the
main form there is a Memo and a Button, on click I write:

void __fastcall TForm1::Button1Click(TObject *Sender)
{
_di_VFSi Service = GetVFSi();
Memo1->Lines->Add(Service->login("user","pass"));
}

But I received this Execption:

---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class Exception with message ' -
URL:http://127.0.0.1:8080/axis/services/VFService - SOAPAction:""'.
Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------

While I'm expecting a string from the service...

0 new messages