Our client needs a very basic CGI server that works with SOAP protocol, written in Perl. It should be able to do something like:
1.) receives XML input data
<xml>
<param1>something</param1>
<param2>something else</param2>
</xml>
2.) executes appropriate function that manipulates this data - there will be more than one function, but they will all do the same thing - they will select something from mysql database - in this case something like:
select name,value from table where param1='something' and param2='something else';
3.) returns XML with fetched data:
<xml>
<name>Name from database</name>
<value>Value from database</name>
</xml>
They also want a WSDL file generated so their clients can easily use this service.
Since we have absolutely no experience with SOAP and WSDL generation I am asking you if someone could post an example or maybe a short tutorial how to write this kind of SOAP server? We looked at SOAP::Lite and SOAP::WSDL modules but since we don't have any experience with this technology we didn't quite understand how to write even a simple "hello world" server.
Thank you!
Start Free Trial