Next | SOAP::Lite Client Experiences | 7 |
The TestTrack SOAP documentation has an example of how to write a SOAP client:
use SOAP::Lite; $HOST = "http://localhost/cgi-bin/ttsoapcgi.exe"; $NS = "urn:testtrack-interface"; my $soap = SOAP::Lite ->uri($NS) ->on_action(sub { return $NS }) ->proxy($HOST);
You need a SOAP object, and you then call a number of methods to declare the URI and the proxy service (the CGI program on the host of your database).
I never understood the need for the on_action() call.
Copyright © 2004 David Baird |