Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

ALL,
Revamping a legacy interface that used "Plain ASCII" strings in the form of files FTP's back and forth to a UNIX machine.

I do not have the code to the unix machine, only the proprietary ASCII File structure that it can read and write. I have made Perl programs that Convert a XML to this proprietary REQUEST, and a program that takes the proprietary ANSWER and converts it back to XML.

I now want to make a SOAP Web service out of it and am trying to get a heads up on the direction I need to take.

I am about to set up Linux Redhat 8.0, with Apache and mod_perl. I will then create a service that will look for XML Request(the XML structure I designed) do it's proprietary conversion to ASCII text file, get the answer back and convert it to XML to resturn the ANSWER.

2 questions:
1.) is the software choice correct/optimum
2.) Any sample code available that will show the skeleton of the WEB Service that will wait for a REQUEST, do it's work and return the ANSWER.

HTMLified author's formatting - dvergin 2002-11-23

Replies are listed 'Best First'.
Re: SOAP XML
by mirod (Canon) on Nov 23, 2002 at 05:28 UTC
Re: SOAP - XML
by grantm (Parson) on Nov 23, 2002 at 20:10 UTC

    Sounds like a reasonable direction. If you use SOAP::Lite, you can use it either standalone or via Apache. The distribution includes some sample code.