Is there anyone who has seen this type of error before?

How can I make sure that the received XML is parsed correctly?

Thanks in advance,
Dion

2012/10/5 Dion van Adrichem <[email protected]>:
> For my OTRS-setup I have an Invoker which logs every closing of tickets.
>
> In the response I have the log entry-id which I save in a Dynamic Field.
> This is done correctly.
>
> Unfortunately, in the otrs.log file, I keep seeing the following messages:
> [Mon Sep 17 11:00:22 2012][Error][Kernel::System::Main::_Dump][841] Unknown
> ref 'Struct'!
> [Mon Sep 17 11:00:23
> 2012][Notice][Kernel::Scheduler::TaskHandler::GenericInterface::Run]
> GenericInterface task executed correctly!
>
> When I set the webservice debugging to Debug I can see the following item
> 'Struct':
> Incoming data before mapping (2012-09-17 11:00:22.000, debug)
> $VAR1 = {
>   'return' => bless( {
>     'ArticleID' => '17120',
>     'Respons' => 'OK',
>     'ResponsMessage' => '9836'
>   }, 'Struct' )
> };
>
>
> When I check the received XML it shows as follows:
>
> <soap-env:envelope
> soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/";>
> <soap-env:body>
> <xmlns:Logresponse>
> <return xsi:type="SOAP-ENC:Struct">
> <articleid xsi:type="xsd:string">17120</articleid>
> <respons xsi:type="xsd:string">OK</respons>
> <responsmessage xsi:type="xsd:string">9836</responsmessage>
> </return>
> </xmlns:Logresponse>
> </soap-env:body>
> </soap-env:envelope>
>
> I personally think that the "Struct" in the Bless() (in the data before
> mapping) is causing this error, but I am unaware how to fix this issue.
> Where can/should I start? Is this a bug, that the XML cannot be parsed
> correctly?
>
> My setup is: Windows Server 2008 R2 - MS SQL 2008 R2 - OTRS 3.1.10
>
> Thanks for any reply!
>
> Regards,
> Dionysius
---------------------------------------------------------------------
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

Reply via email to