[Lazarus] FastMM + Lazarus/FPC?

Guionardo Furlan guionardo at gmail.com
Mon Nov 23 23:02:36 CET 2009



On Mon, 23 Nov 2009, Michael Joyner ᏩᏯ wrote:

> Michael Van Canneyt wrote:
>> 
>> 
>> On Mon, 23 Nov 2009, Michael Joyner ᏩᏯ wrote:
>> 
>>> Michael Van Canneyt wrote:
>>>> 
>>>> 
>>>> On Sun, 22 Nov 2009, Michael Joyner ᏩᏯ wrote:
>>>> 
>>>>> I have tried using the ws_helper from the web services toolkit to import 
>>>>> the WSDL file relating to vSphere, I end up with a *.pas file that only 
>>>>> contains nothing of note beyond initial class registration. :(
>>>> 
>>>> Did you request the other files ? You should end up with 3 files:
>>>> mywsdl.pas
>>>> urn_mywsdl.pas
>>>> mywsdl_proxy.pas
>>>> 
>>>> The _proxy file contains what you need to communicate with the service.
>>>> 
>>>> Michael.
>>>> ------------------------------------------------------------------------ 
>>>> 
>>>> -- 
>>>> _______________________________________________
>>>> Lazarus mailing list
>>>> Lazarus at lists.lazarus.freepascal.org
>>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>>> 
>>> Here are the four files:
>> 
>> Indeed, I forgot the mywsdl_intf file :)
>> 
>> But the proxy file contains what you need:
>> 
>> Var
>>  MI : MyInterface;
>> 
>> begin
>>   MI:=MyInterface_Proxy.Create('MyInterface',
>>                                'SOAP:'+GetServiceDefaultFormatProperties(TypeInfo(MyInterface)),
>>                                'HTTP:address='+URL) as MyInterface;
>>   // Now MI can be used to communicate with the webservice
>> end;
>> 
>> Michael.
>> ------------------------------------------------------------------------
>> 
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>> 
> Eh? This defines all the 100's of different service calls?

It depends how they are organized. I can't comment on that without having
seen the WSDL, but:
If it is 1 interface with 100 calls: yes. 
if it is 1 service per call, then you'll have to create each service proxy 
object separately.

Michael.


More information about the Lazarus mailing list