I have a few rpc/encoded SOAP::Lite services at present. I would like to use document/
literal service now. While I see lots of samples on how to develop one using other
languages and implementations, I am bit lost w.r.t SOAP::lite.
I have come up with a WSDL for my service, the request is defined by a schema and the
response is an xml defined by yet another schema. For example, using Java I would
receive the xml, have a set of classes/bindings generated based on the xsd and use these
to extract data out of xml, process and return an xml. Now, what would my server side
code look like with Perl and SOAP::Lite? I presume SOAP::Server::Parameters would help
only when I have a specific method defined. How would I extract elements from the xml?
For example, if the following is my SOAPRequest, what would my server code be like?
Would really appreciate any help.
Thanks in advance,
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:
XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:
<ns0:PurchaseOrderDocument><billTo><street>1 Main Street</street><city>Beverly
-19282</poID><shipTo><street>1 Main Street</street><city>Beverly Hills</