🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.webservices.soap
1 messages
1 total messages Started by d Fri, 03 Mar 2006 21:38
Using THTTPRIO component for web services client
#57
Author: d
Date: Fri, 03 Mar 2006 21:38
39 lines
2245 bytes
Hi All,

I am trying to implement a webservices client and am now experimenting 
using the THTTPRIO component that comes with c++ builder 6. I am 
implementing a small client as per the example on the following website:

http://drbob42.com/kylix/BizSnap5.htm

Loading the webservices, setting the services and ports works fine as 
well as all compiles. No errors or warnings. My problem is that I do not 
get any data back when doing the remote procedure call.

I implemented the exact same example in Delphi using the same component 
and it worked 100%.

what am I doing wrong?

Here is my code: (snippets of it)
#include "ICmInch.h"

void __fastcall TForm1::Button1Click(TObject *Sender)
{
     double Cm = 1.0;
     double inch = 0.0;

     Cm = StrToFloatDef(Edit1->Text,0);
     inch = ((ICmInch *)HTTPRIO1)->Cm2Inch(Cm);

     Edit2->Text = AnsiString(inch);
}

I included the icminc.cpp in my project and the THTTPRIO component that 
I dropped on my for is pointing to wsdllocation of 
http://www.drbob42.co.uk/cgi-bin/K2WebService/wsdl/ICmInch
service is set to ICmInchservice
and port is set to ICmInchPort.

Thanks
Werner Deyzel
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