Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Soap Webservice. How to ?
#3
(10-03-2019, 06:15 AM)duffo64 Wrote:
(10-03-2019, 05:31 AM)SorenJensen Wrote: Hi All,

I need to receive data from a webservice after a request.

I will normally include the webservice specs as a wsdl (*.pas file), and communicate with the service using XML.

Is that possible in IntraWeb 15.1.5 and if, do anyone have any examples of how to ?

In a Delphi 2010 Win32 program, I include the WDSL as a unit, and call the procedures it expose, as I would any other procedures. The resulting data are received as an XML file, which I then decipher (with a parser) and pull out the data I need.

In a similar C# program in MS Visual Studio 2010, it's a bit easier as XML is an native part, making the individual data in the XML, available as properties of the XML file.

Is there anything similar awailable in IntraWeb ?

Regards
Soren
Hi Soren,

The process is identical even in an IW app (though I use c++). I generate the unit from the wsdl file (or the wizard) and then, in the usersession, a function calls the webservice and gets the response. All works around the HTTPRIO component as usual.

Ciao
Claudio

Hi Claudio,

Thanks for the quick reply. I'll try it out.

Regards
Soren
Reply


Messages In This Thread
Soap Webservice. How to ? - by SorenJensen - 10-03-2019, 05:31 AM
RE: Soap Webservice. How to ? - by duffo64 - 10-03-2019, 06:15 AM
RE: Soap Webservice. How to ? - by SorenJensen - 10-03-2019, 07:07 AM
RE: Soap Webservice. How to ? - by SorenJensen - 10-06-2019, 11:08 AM
RE: Soap Webservice. How to ? - by kudzu - 10-06-2019, 02:40 PM
RE: Soap Webservice. How to ? - by duffo64 - 10-07-2019, 08:42 AM
RE: Soap Webservice. How to ? - by SorenJensen - 10-07-2019, 09:06 AM
RE: Soap Webservice. How to ? - by SorenJensen - 10-07-2019, 05:20 PM
RE: Soap Webservice. How to ? - by kudzu - 10-07-2019, 05:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)