Cagao has asked for the wisdom of the Perl Monks concerning the following question:

Not much of a techie Perl question, but is there any simple way to automatically create a WSDL for a SOAP service I've created? Can't seem to find much on Google. Surely there's something around to save me time writing a WSDL from scratch to give to other language developers to use?

Replies are listed 'Best First'.
Re: Creating a WSDL for SOAP::Lite
by john_oshea (Priest) on Jun 30, 2007 at 11:24 UTC

    AFAIK, there isn't a fully-automatic way of doing what you want (I'd love to be proved wrong mind you). The solution I went with was to use Pod::WSDL to generate the WSDL from Pod comments, which worked reasonably well. I ended up having to hand-edit the resultant WSDL slightly to make the a .Net-based client happy, but that was a lot better than hand-coding from scratch.

    Hope that helps.

      Thanks for the advice, I just spotted WSDL::Generator doesn't work on 5.8 so that's a bit poo.
Re: Creating a WSDL for SOAP::Lite
by Anonymous Monk on Jun 30, 2007 at 11:20 UTC
      That's broken for 5.8.