 |
The Perl client is easy, again
Only the target URL is different
#!/usr/bin/perl
use SOAP::Lite;
my $soap = SOAP::Lite
-> proxy('http://localhost:7375/hello')
-> uri('urn:HelloServer')
-> sayHelloTo("Tim O'Reilly")
-> result;
print "$soap\n";
This looks familiar. Note that when the server is powered by SOAP::Lite,
there's an extra header 'SOAPServer'. Also, notice that to talk to our
mod_perl from Axis, we need to specify the service name 'HelloServer' when
we call invoke our call object. When the endpoint was JWS, the service name
was inferred because it was in the request uri.
|