Hi,

I would like to create tickets and articles via OTRS SOAP interface.
This is what I have done so far.

- added SOAP user and pass at OTRS Administrator menu (Framework-Core::SOAP)
- installed SOAP::Lite Perl package
- ran otrs.checkModules it looks fine.
- ran rpc-example.pl with the appropriate params (url, user, pass).

The last point always fail with the following: (I added trace=>'all' to
see what's wrong with it)
Apache's error log says nothing  nor otrs log as well. So I really
appreciate any idea where should I continue debugging.
Thank you in advance!

rbs:/opt/otrs/scripts# ./rpc-example.pl
Subroutine LWP::UserAgent::redirect_ok redefined at
/usr/local/share/perl/5.8.8/SOAP/Transport/HTTP.pm line 44.
Subroutine LWP::Protocol::collect redefined at
/usr/local/share/perl/5.8.8/SOAP/Transport/HTTP.pm line 65.
Subroutine SOAP::Trace::transport redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::dispatch redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::result redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::parameters redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::headers redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::objects redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::method redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::fault redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::freeform redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::trace redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
Subroutine SOAP::Trace::debug redefined at
/usr/local/share/perl/5.8.8/SOAP/Lite.pm line 2905.
SOAP::Lite::call: ()
SOAP::Serializer::envelope: ()
SOAP::Serializer::envelope: new
SOAP::Data::new: ()
SOAP::Data::new: ()
SOAP::Data::new: ()
SOAP::Data::new: ()
SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x84fec2c)
SOAP::Transport::HTTP::Client::send_receive: POST
http://192.168.1.10/otrs/rpc.pl HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
Content-Length: 403
Content-Type: text/xml; charset=utf-8
SOAPAction: "/Core#new"

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><new
xmlns="/Core" xsi:nil="true" /></soap:Body></soap:Envelope>
SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x88889c0)
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal
Server Error
Connection: close
Date: Wed, 14 Jul 2010 13:43:50 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_perl/2.0.2 Perl/v5.8.8
Content-Length: 603
Content-Type: text/xml; charset=utf-8
Client-Date: Wed, 14 Jul 2010 13:43:50 GMT
Client-Peer: 192.168.1.10:80
Client-Response-Num: 1
SOAPServer: SOAP::Lite/Perl/0.712




-- 
Üdvözlettel/Kind Regards, Fehér Sándor


...Fehér Sándor...            ---    ....Sandor Feher.... 
 fejlesztési vezető           ---     development manager
 Blue System Kft.             ---      Blue System Ltd. 
..........................................................................................
http://www.bluesystem.hu : http://www.adatmegorzo.hu : http://www.bluehosting.hu
..........................................................................................

Kérem gondoljon a környezetre mielőtt kinyomtatná ezt az e-mailt vagy bármely 
csatolmányát.
Please consider the environment before printing this e-mail and any associated 
attachments.

---------------------------------------------------------------------
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/

Reply via email to