Beste Michiel & Markus,
I checked to see if I was missing any modules:
/opt/otrs/bin/otrs.checkModules
o CGI............................ok (v3.48)
o Date::Pcalc....................ok (v1.2)
o Date::Format...................ok (v2.22)
o DBI............................ok (v1.601)
o DBD::mysql.....................ok (v4.005)
o Digest::MD5....................ok (v2.36)
o Crypt::PasswdMD5...............ok (v1.3)
o LWP::UserAgent.................ok (v2.036)
o Encode::HanExtra...............Not installed! (Optional - Required to
handle mails with several Chinese character sets.)
o IO::Scalar.....................ok (v2.110)
o IO::Wrap.......................ok (v2.110)
o MIME::Base64...................ok (v3.07)
o Mail::Internet.................ok (v2.04)
o MIME::Tools....................ok (v5.427)
o Net::DNS.......................ok (v0.63)
o Net::POP3......................ok (v2.28)
o Mail::POP3Client...............ok (v2.18 )
o IO::Socket::SSL.............Not installed! (Optional - for POP3
SSL connections)
o Net::IMAP::Simple..............ok (v1.17)
o Net::IMAP::Simple::SSL......Not installed! (Optional - Required
for SSL connections.)
o Net::SMTP......................ok (v2.29)
o Authen::SASL................ok (v2.12)
o Net::SMTP::SSL..............Not installed! (Optional - Required
for SSL/SMTPS connections.)
o Net::LDAP......................ok (v0.34)
o GD.............................ok (v2.35)
o GD::Text....................ok (v0.86)
o GD::Graph...................ok (v1.44)
o GD::Graph::lines............ok (v1.15)
o GD::Text::Align.............ok (v1.18)
o PDF::API2......................Not installed! (Optional - Required
for PDF output.)
o Compress::Zlib..............Not installed! (Optional - Required
for PDF output.)
o SOAP::Lite.....................ok (v0.710.10)
o XML::Parser....................ok (v2.34)
It seems to me that the missing ones are not SOAP related... When I run
the example script from the wiki I get:
Test SOAP-interface of OTRS
Fatal error: Uncaught SoapFault exception: [soap:Client] Application
failed during request deserialization: no element found at line 1, column
0, byte -1 at /usr/lib/perl5/XML/Parser.pm line 187 in
/var/www/espritxb/soap.php:40 Stack trace: #0
/var/www/espritxb/soap.php(40): SoapClient->__soapCall('Dispatch', Array)
#1 {main} thrown in /var/www/espritxb/soap.php on line 40
I have changed the the $url, $username, $password and $from to match my
situation. Nothing else has been changed in the script.
Thanks for the help!
Arnold.
Post by Michiel BeijenBeste 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
http://wiki.otrs-forum.de/index.php?title=Create_a_ticket_in_OTRS_from_PHP_via_RPC
Post by Michiel BeijenHope 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
about OTRS at booth no. 12 from Nov 24-25, 2009!
Post by Markus EscheHi Arnold,
Post by a***@ligtvoet.orgPost by a***@ligtvoet.orgCan'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.
Post by a***@ligtvoet.orgI'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?
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/