in reply to Re: The sad state of SOAP and Perl
in thread The sad state of SOAP and Perl
I thought that you are generally expected to write your WSDL by hand, that the generators don't work.I thought so too, which seemed really odd since .NET has the WebMethod attribute which sets up some automagickal WSDL/webservice thing that does what you need to expose your code as a webservice.
The POD sections that Pod::WSDL looks for are pretty much along the same lines.[WebMethod] public string greet( string name ) { return "Hello, " + name; }
=begin WSDL _IN name $string _RETURN $string =cut sub greet { my ($s, $name) = @_; return "Hello, $name!"; }
I typed cpan SOAP::Lite and it just worked.If you're using Apache 1.3x that works just fine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The sad state of SOAP and Perl
by Anonymous Monk on Apr 13, 2006 at 00:26 UTC | |
by Anonymous Monk on Apr 13, 2006 at 03:21 UTC |