Thread View: borland.public.cppbuilder.webservices.soap
3 messages
3 total messages
Started by pierluigi.failla
Tue, 16 Jan 2007 19:14
Borland C++ Builder and WSDL client
Author: pierluigi.failla
Date: Tue, 16 Jan 2007 19:14
Date: Tue, 16 Jan 2007 19:14
7 lines
1381 bytes
1381 bytes
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
Re: Borland C++ Builder and WSDL client
Author: Bob Swart
Date: Wed, 17 Jan 2007 06:25
Date: Wed, 17 Jan 2007 06:25
20 lines
1872 bytes
1872 bytes
Hi pierluigi.failla@gmail.com,
> 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!
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
Re: Borland C++ Builder and WSDL client
Author: pierluigi.failla
Date: Wed, 17 Jan 2007 08:23
Date: Wed, 17 Jan 2007 08:23
23 lines
2034 bytes
2034 bytes
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...
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