Re: Rpc Error

Michiel Beijen <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <CABD0r12Tm1b=NpWFhuX6WTHVOCHXSuL8WZttp1kXdyBJV3jYSA@mail.gmail.com>
Hi Rocco,

The problem is the soap module on your environment is faulty. Since 3.1.x
we ship the version in Kernel/cpan-lib and of course we ship a version that
works.

Please check a blog post I wrote about this:
http://blog.otrs.org/2011/10/15/fixing-the-soap-interface-for-otrs/ - it
has a link to a .opm version of a working SOAP::Lite module, you can
install it on your OTRS system to fix the issue.

Michiel Beijen
Senior Consultant

OTRS BV
Schipholweg 103
2316 XC Leiden
The Netherlands

T: +31 71 8200 255
F: +31 71 8200 254
I: http://www.otrs.com

It's raining ... OTRS Feature Add-Ons:  Choose up to 10 OTRS Feature
Add-Ons for free and get direct support from the creators of OTRS  –
Become a Subscription customer now ! - http://j.mp/OBoPuj


Michiel Beijen
Senior Consultant

OTRS BV
Schipholweg 103
2316 XC Leiden
The Netherlands

T: +31 71 8200 255
F: +31 71 8200 254
I: http://www.otrs.com

It's raining ... OTRS Feature Add-Ons:  Choose up to 10 OTRS Feature
Add-Ons for free and get direct support from the creators of OTRS  –
Become a Subscription customer now ! - http://j.mp/OBoPuj


On Wed, Jan 9, 2013 at 1:27 PM, Rocco Tocci <[email protected]> wrote:

>  Hi guys I need your help:
>
> I'm trying to create the ticket by RPC on a Win 2003 server with OTRS
> 3.0.10.
> The client PC (Win XP) has installed the same version of OTRS (3.0.10).
> I bring you the test script (just create the TicketNumer)
> *
> #!/usr/bin/perl
> use SOAP::Lite;
>
> my $User = 'some_user';
> my $Pw   = 'some_pass';
>
> my $otrs = new SOAP::Lite(proxy => 'http://10.80.250.25/otrs/rpc.pl', uri
> => 'http://10.80.250.25/Core');
>
> #SOAP message
> my $som;
>
> # create a new ticket number
> $som = $otrs->Dispatch($User, $Pw, 'TicketObject','TicketCreateNumber');
> die $som->fault->{faultstring} if $som->fault;
> my $TicketNumber = $som->result;
> print "RPC: New Ticketnumer created: ".$TicketNumber."\n";*
>
> Case 1)
> when I run the script from Win XP to Win 2003 OTRS 3.0.10 I get the
> following error.
> *Application failed during request deserialization: no element found at
> line 1, column 0, byte -1
> at C:/Program Files/OTRS/StrawberryPerl/perl/vendor/lib/XML/Parser.pm line
> 187*
>
> In the log of OTRS is not drawn anything even if I provide an incorrect
> password, so I think that does not come to invoke the module rpc.pl on
> the server.
>
> Case 2)
> When I run the script from Win XP to Win 2003 with an OTRS 3.1.9
> *everything works OK*
>
> I probed the installation of perl modules SOAP and all ok
> I examined the link
> http://lists.otrs.org/pipermail/otrs/2009-November/029314.html about the
> same problem but is not solved.
> Obviously I can not update the server to 3.1.9 because the server is in
> production and migration is planned soon.
> I'm sure there 's something that escapes me and I can not understand.
>
> Can anyone help me?
> thanks
>
>
>
> --
> Rocco Tocci
> Application Architect
> Strada Prov. 1 BariModugno n. 4
> 70123 Bari  Italy
> Tel. +39 0803855483
>
> TBS IT – Telematic & Biomedical Services Srl a socio unico
> Sede Legale : Via Giacinto Gallina, 4 – 34122 Trieste
> Tel. 040 - 92291
> Sede Operativa : Via Francesco Bettini, 13 – 06034 Foligno
> Tel. 0742- 32661
> C.F., P.IVA e Registro Imprese (TS) : 01165260322
> Cap.Soc. € 8.000.000,00 i.v.
> una società di TBS Group SpA
>
> Ai sensi del D.Lgs. 196/2003 e della normativa internazionale, vi informiamo che questo messaggio è riservato esclusivamente al destinatario. Se esso vi fosse pervenuto per errore, vi invitiamo a eliminarlo immediatamente e a darcene comunicazione. Grazie.
> According to the Italian and international laws in force, we inform you that this message is reserved only for the addressee. If you are not the addressee, please delete it immediately and notify us. Thank you.
>  P Per favore, pensa all'ambiente prima di stampare questo messaggio. Please, consider the environment before printing this e-mail.
>
>
> _______________________________________________
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.