Advertisement

09.18.2008 at 03:08AM PDT, ID: 23741749 | Points: 250
[x]
Attachment Details

Simple perl SOAP server with WSDL

Asked by jakac in Perl Programming Language, CGI Scripting

Tags: ,

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
[+][-]09.18.2008 at 03:50PM PDT, ID: 22516286

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.18.2008 at 09:59PM PDT, ID: 22518144

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628