Hi All,

Trying to get the SOAP interface working on our live box (test box was fine!) 
and hit the following error:

no element found at line 1, column 0, byte -1 at 
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/XML/Parser.pm

No SOAP commands worked at all. Bit of browsing turned up the fact that this 
happens to others with other SOAP/XML issues and that it was reported and not 
answered here back in Nov 2009. Testing with a non-OTRS SOAP test program 
showed same error.

Workaround found is to edit one of the perl library modules

SOAP::Transport::HTTP::CGI::handle

(you'll probably find it somewhere like 
/usr/local/lib/perl5/site_perl/5.10.0/SOAP/Transport/HTTP.pm)

And replace the

sysread( STDIN, my $buffer, 1024 )

with

read( STDIN, my $buffer, 1024 )

Doesn't appear to break anything here, but of course YMMV. Use at your own risk!

Cheers,
--
Steve Durbin
Group Manager: Applications Delivery/Cyfarwyddwr Grŵp: Trosglwyddo Rhaglenni
Bridgend County Borough Council/Cyngor Bwrdeistref Sirol Pen-y-Bont ar Ogwr
Tel/Rhif ffon: 01656 642113
Mob/ffon symudol: 07976 271559
Fax/Ffacs: 01656 642125
Web/We: http://www.bridgend.gov.uk


E-mail may be automatically logged, monitored and/or recorded for legal 
purposes.
Please do not print this email unless absolutely necessary.
E-bost yn cael ei logio, ei monitro a/neu ei chofnodi yn awtomatig am resymau 
cyfreithiol
Peidiwch ag argraffu’r neges e-bost hon oni bai fod hynny’n gwbl angenrheidiol.

________________________________________________________________________
This e-mail and any attachments transmitted with it represents the
views of the individual(s) who sent them and should not be regarded
as the official view of Bridgend County Borough Council.  The contents
are confidential and intended solely for the use of the addressee.  If
you have received it in error, please inform the system administrator
on (+44) 01656 642111.

This e-mail and any attachments have been scanned with 'MessageLabs SkyScan'  - 
http://www.messagelabs.com/

________________________________________________________________________
Mae'r e-bost hwn ac unrhyw atodiadau a drosglwyddir gydag ef yn cynrychioli 
safbwyntiau'r unigolyn a'i anfonodd (unigolion a'u hanfonodd) ac ni ddylid eu 
hystyried fel safbwynt swyddogol Cyngor Bwrdeistref Sirol Pen-y-bont ar Ogwr.  
Mae'r cynnwys yn gyfrinachol ac wedi'i fwriadu ar gyfer y sawl y'i cyfeiriwyd 
ato yn unig.  Os ydych wedi ei dderbyn mewn camgymeriad, rhowch wybod i 
weinyddwr y system ar (+44) 01656 642111.

Mae'r e-bost hwn ac unrhyw atodiadau wedi cael eu sganio gyda 'MessageLabs 
SkyScan'  - http://www.messagelabs.com/
________________________________________________________________________
---------------------------------------------------------------------
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