
9 Jul
2007
9 Jul
'07
1:55 p.m.
I've implemented a SOAP interface over OTRS 2.1 that lets a SOAP client create a ticket by passing: email, customerid, subject, body and optionally the name of the queue to drop it in to a SOAP server. I know it's not much but it is quite easy to extend once you grasp the basics of perl and otrs. INSTALLATION: Since it requires SOAP::Lite
perl -MCPAN -e ' install SOAP::Lite '
then drop the attached file in the cgi-bin directory of your webserver. Test it with the following client: #!perl -w use SOAP::Lite; print SOAP::Lite -> uri('http://localhost/OTRS_SOAP') -> proxy('http://localhost/cgi-bin/otrs-rpc.cgi') -> newTicket("me\@somewhere.it", "VIPCUSTOMER", "It Works", "Get me an iPhone") -> result; Enjoy, Umberto