How to expose perl functionality as Webservice

Discussions

XML & Web services: How to expose perl functionality as Webservice

  1. How to expose perl functionality as Webservice (1 messages)

    I would like to expose the email user creation as webservice. I have cgi-perl admin screens to create an email account, Can I expose this functionality as webservice, If so, how the password will be sent as SOAP message ? Does it require any encryption ?

    Thanks in advance,
    Rama Krishna.

    Threaded Messages (1)

  2. O[ Go to top ]

    There are Perl modules available for building web services - e.g. http://www.soaplite.com/. So you don't have to do it from scratch. Although I would question the wisdom of building a web-service in Perl to call a service written in cgi-perl; what exactly will this achieve for you?

    As for security, yes passwords must be encrypted. You can do this in a number of ways. For example, encrypt the entire SOAP message using SSL. Or encrypt just the password programatically using an encryption api (e.g. java.security.*) and send the soap message as clear text.