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
[email protected]
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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Eh? This defines all the 100's of different service calls?
--
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus