Does SOAP::Lite can be used for creating document/literal web services?

420 Views Asked by At

Does SOAP::Lite can be used for creating document/literal web services ? While it does support writing clients for an existing document/literal web services I cannot find how to created a document/literal server.

Is there any other module that enable this ?, it will also be helpful if there is a simple way to generate the WSDL for such a service, I tried using POD::WSDL, but the other side could not access it (while using SOAP::Lite I can use the WSDL)

Thanks

1

There are 1 best solutions below

0
On

I think XML::Compile, XML::Compile::SOAP and XML::Compile::WSDL11 are the modules you want to use when building a (modern) SOAP server and/or client.

Those modules provide a way to create both SOAP servers and clients. They can work with WSDL files to load definitions automatically, or you can do that manually. They also support "document" and "RPC" modes.

Another cool feature of these modules is that they can parse the WSDL and (if applicable) XSDs, and generate example Perl data structures from them, so you know what to expect when writing a handler (or want to know what arguments to supply when writing a client).