Re: [otrs] SOAP problem
HI, On 14.07.2010, at 15:47, Sándor Fehér wrote: 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 Could you post your rpc-example.pl file? Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leid...@leidex.net nils.leid...@otrs.com http://webint.cryptonode.de / a Fractal project - 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/
Re: [otrs] SOAP problem
Hi, Sorry, please ignore my email, haven’t read the followups before i answered. Good to hear it is solved for you now ;-) On 15.07.2010, at 21:22, Nils Leideck - ITSM wrote: On 14.07.2010, at 15:47, Sándor Fehér wrote: 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 Could you post your rpc-example.pl file? Freundliche Grüße / Kind regards Nils Leideck -- Nils Leideck Senior Consultant nils.leid...@leidex.net nils.leid...@otrs.com http://webint.cryptonode.de / a Fractal project - 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] SOAP problem
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:Bodynew xmlns=/Core xsi:nil=true //soap:Body/soap:Envelope SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x9c0) 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/
Re: [otrs] SOAP problem
On 7/14/10 3:47 PM, Sándor Fehér wrote: 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! 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 Hi, checj this bug report: https://rt.cpan.org/Public/Bug/Display.html?id=58538 I solved the issue after I replaced the sysread command in SOAP/Transport/HTTP.pm with read. regards, Roy -- Roy Kaldung e-mail: r...@kaldung.com web: http://kaldung.com/ gpg key: 2A4D6A9D http://kaldung.com/roy.kaldung.asc - 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/
Re: [otrs] SOAP problem
Hi Roy, Thanks a lot! I changed sysread to read accordingly and now it works fine. regards., Sandor 2010.07.14. 22:01 keltezéssel, Roy Kaldung írta: On 7/14/10 3:47 PM, Sándor Fehér wrote: 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! 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 Hi, checj this bug report: https://rt.cpan.org/Public/Bug/Display.html?id=58538 I solved the issue after I replaced the sysread command in SOAP/Transport/HTTP.pm with read. regards, Roy - 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/