Thank you for these links but I also did some googling and found all sorts of examples. Like I said - we have to generate WDSL file as well and none of these tutorials cover generation of WDSL documents.
Main Topics
Browse All TopicsOur 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!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here is some code that could get you started with SOAP-Lite. Basically, you have a dispatcher file that takes requests for your webservices and directs them to simpleServer (the second file).
The webservice 'endpoint' would be the url of the dispatcher. The 'namespace' would be http://your.domain/simpleS
In simpleServer, all you have to do is add the subroutines that you want to be accessible (you provide the logic, so code querying databases can be dropped right in).
The wsdl will be much harder for you to generate. I recommend that you install eclipse (http://www.eclipse.org/do
Pretty much a wsdl describes the subroutines. To get started, I would recommend that you just say 'service A' consumes a string and produces a string.
Good luck!
Business Accounts
Answer for Membership
by: WodPosted on 2008-09-18 at 15:50:48ID: 22516286
Quick Start with SOAP: 2001/01/so ap.html
e-pim&m=99 3943971066 25&w=2
http://www.perl.com/pub/a/
Just a real simple soap example done in perl (with database access)
http://lists.kde.org/?l=kd