Beste Arnold, Please note that I am NOT knowledgeable in PHP, but I've taken an example script I had and modified it a bit to demonstrate how you could create a ticket via SOAP from PHP:
http://wiki.otrs-forum.de/index.php?title=Create_a_ticket_in_OTRS_from_PHP_via_RPC Hope this helps, ((enjoy)) - Michiel Beijen R&D OTRS AG Norsk-Data-Str 1. 61352 Bad Homburg Deutschland T: +31 (0) 6457 42418 F: +49 (0) 9421 56818-18 I: http://www.otrs.com/ Business Location: Bad Homburg, Country Court: Bad Homburg, Commercial register: 10751, Tax ID: 003 240 97505 Chairman of the Board: Burchard Steinbild, Managing Board: André Mindermann (CEO), Martin Edenhofer CU@ IIR Service Desk Forum in Mainz (Germany) and get to know more about OTRS at booth no. 12 from Nov 24-25, 2009! On Thu, Nov 19, 2009 at 9:33 AM, Markus Esche <[email protected]> wrote: > Hi Arnold, > > On Nov 18, 2009, at 5:28 PM, <[email protected]> <[email protected]> > wrote: >>> >>> On Nov 17, 2009, at 2:05 PM, <[email protected]> >>> <[email protected]> wrote: >>>> >>>> Can't call method "Dispatch" on an undefined value at >>>> /opt/otrs/bin/cgi-bin/rpc-example.pl line 33. > >> I'm now at a point where I can create a new ticket via SOAP, but it gets >> no data (not even a TN if I look in the agent interface). PHP still gives >> me an error 'no element found at line 1, column 0, byte -1 at >> /usr/lib/perl5/XML/Parser.pm line 187'. > > You may call $OTRS_HOME/bin/otrs.checkModules to see if Perl Modules are > missing. > >> I'm lost.... If I'm correct than the only change in OTRS is setting the >> SOAP user and password. I've also set these directly in the rpc.pl under >> $User and $Password (to be on the safe side). I'm running OTRS 2.4.5. Can >> someone post a small working script in PHP (preferred) or Perl, that just >> creates a new ticket? > > Please have a look at this email: > http://www.mail-archive.com/[email protected]/msg27899.html > > hth > Markus > > -- > > Markus Esche > Customer Development > > > OTRS AG > Europaring 4 > 94315 Straubing > Deutschland > > T: +49 (0) 9421 56818 0 > F: +49 (0) 9421 56818 18 > I: http://www.otrs.com/ > > Geschäftssitz: Bad Homburg > Amtsgericht: Bad Homburg, HRB 10751 > Steuernummer: 003 240 97505 > Aufsichtsratsvorsitzender: Burchard Steinbild > Vorstand: André Mindermann (Vorsitzender), Martin Edenhofer > > Treffen Sie ((otrs)) auf dem IIR Service Desk Forum in Mainz und erfahren > Sie > vom 24.-25. November 2009 mehr über OTRS an Stand 12! > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/ > --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
