Error in scripts/rpc-example.pl?

Hi everybody, I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc-example.pl i got empty returns in the variables; in other words, i got this: [eraffoul@pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is: Any idea??

Hi Eduardo, is there some information in the OTRS log? Maybe authentication problems on the rpc.pl on the OTRS server site. Greetings, -Martin On Nov 21, 2007, at 4:20 PM, Eduardo Raffoul wrote:
Hi everybody,
I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc- example.pl i got empty returns in the variables; in other words, i got this:
[eraffoul@pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is:
Any idea?? _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
≈

Hi Mr. Edenhofer,
I just installed SOAP::Lite via CPAN, changed this lines in /scripts/rpc-
example.pl
use SOAP::Lite('autodispatch', proxy => 'http://localhost/otrs/rpc.pl');
my $User = 'root@localhost';
my $Pw = 'root';
and doesn't works out. The apache log says this:
[Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1] Use of uninitialized
value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP
.pm line 411, <PRODUCT> line 4.
[Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1] Use of uninitialized
value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP
.pm line 411, <PRODUCT> line 4.
[Wed Nov 21 16:42:28 2007] [error] [client 127.0.0.1] Use of uninitialized
value in pattern match (m//) at
/usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP
.pm line 411, <PRODUCT> line 4.
But i can't see anything wrong in the refered file.
2007/11/21, Martin Edenhofer
Hi Eduardo,
is there some information in the OTRS log? Maybe authentication problems on the rpc.pl on the OTRS server site.
Greetings,
-Martin
On Nov 21, 2007, at 4:20 PM, Eduardo Raffoul wrote:
Hi everybody,
I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc- example.pl i got empty returns in the variables; in other words, i got this:
[eraffoul@pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is:
Any idea?? _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
≈_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hi Eduardo, hmm... thats really strange. It looks like an problem in SOAP::Lite. But I do not have any idea. :-/ -Martin On Nov 21, 2007, at 9:47 PM, Eduardo Raffoul wrote:
Hi Mr. Edenhofer,
I just installed SOAP::Lite via CPAN, changed this lines in /scripts/ rpc-example.pl
use SOAP::Lite('autodispatch', proxy => 'http://localhost/otrs/ rpc.pl' ); my $User = 'root@localhost'; my $Pw = 'root';
and doesn't works out. The apache log says this:
[Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1 ] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/ site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/ site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:28 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/ site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4.
But i can't see anything wrong in the refered file.
2007/11/21, Martin Edenhofer
: Hi Eduardo, is there some information in the OTRS log? Maybe authentication problems on the rpc.pl on the OTRS server site.
Greetings,
-Martin
On Nov 21, 2007, at 4:20 PM, Eduardo Raffoul wrote:
Hi everybody,
I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc- example.pl i got empty returns in the variables; in other words, i got this:
[eraffoul@pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is:
Any idea?? _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
≈_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hello list, has anyone had a look at the problem yet? Thanks, Mario Martin Edenhofer schrieb:
Hi Eduardo,
hmm... thats really strange. It looks like an problem in SOAP::Lite. But I do not have any idea. :-/
-Martin
On Nov 21, 2007, at 9:47 PM, Eduardo Raffoul wrote:
Hi Mr. Edenhofer,
I just installed SOAP::Lite via CPAN, changed this lines in /scripts/rpc-example.pl
use SOAP::Lite('autodispatch', proxy => 'http://localhost/otrs/rpc.pl' ); my $User = 'root@localhost'; my $Pw = 'root';
and doesn't works out. The apache log says this:
[Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1 ] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:28 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4.
But i can't see anything wrong in the refered file.
2007/11/21, Martin Edenhofer
: Hi Eduardo, is there some information in the OTRS log? Maybe authentication problems on the rpc.pl on the OTRS server site.
Greetings,
-Martin
On Nov 21, 2007, at 4:20 PM, Eduardo Raffoul wrote:
Hi everybody,
I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc- example.pl i got empty returns in the variables; in other words, i got this:
[eraffoul@pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is:
Any idea?? _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
≈_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hi Martin, Hi Eduardo, did you get to solve the problem? Which OTRS Version were you using? Thanks, Mario Martin Edenhofer schrieb:
Hi Eduardo,
hmm... thats really strange. It looks like an problem in SOAP::Lite. But I do not have any idea. :-/
-Martin
On Nov 21, 2007, at 9:47 PM, Eduardo Raffoul wrote:
Hi Mr. Edenhofer,
I just installed SOAP::Lite via CPAN, changed this lines in /scripts/rpc-example.pl
use SOAP::Lite('autodispatch', proxy => 'http://localhost/otrs/rpc.pl' ); my $User = 'root@localhost'; my $Pw = 'root';
and doesn't works out. The apache log says this:
[Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1 ] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:27 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4. [Wed Nov 21 16:42:28 2007] [error] [client 127.0.0.1] Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP .pm line 411, <PRODUCT> line 4.
But i can't see anything wrong in the refered file.
2007/11/21, Martin Edenhofer
: Hi Eduardo, is there some information in the OTRS log? Maybe authentication problems on the rpc.pl on the OTRS server site.
Greetings,
-Martin
On Nov 21, 2007, at 4:20 PM, Eduardo Raffoul wrote:
Hi everybody,
I'm right now developing a module to connect an network manager with OTRS usign the RPC feature. But, when i try to run scripts/rpc- example.pl i got empty returns in the variables; in other words, i got this:
[eraffoul@pasante scripts]$ ./rpc-example.pl NOTICE: TicketObject->TicketCreateNumber() Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 33. NOTICE: New Ticket Number is: NOTICE: TicketObject->TicketGet(TicketID => 1) Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 38. NOTICE: Ticket Number is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 39. NOTICE: Ticket State is: Use of uninitialized value in concatenation (.) or string at ./rpc- example.pl line 40. NOTICE: Ticket Queue is:
Any idea?? _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
≈_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
participants (3)
-
Eduardo Raffoul
-
Martin Edenhofer
-
ml@bortal.de