Thank you for that. Note that what you've provided doesn't really retrieve tickets. (At least, not as I'me familiar with the API).


On Fri, Jul 25, 2014 at 10:02 AM, Marwan Rabbâa <waghanza@gmail.com> wrote:
Thanks for reaching me.

I have effectively googled my question before asking the mailing list.

Since I have noting in the logs, the googled answers I've found was not very helpful


2014-07-25 14:52 GMT+02:00 Gerald Young <crythias@gmail.com>:



On Fri, Jul 25, 2014 at 8:33 AM, Marwan Rabbâa <waghanza@gmail.com> wrote:
Hi,

I am running OTRS 3.1.21 on a debian 7. I use RPC calls to contact my OTRS and retrieve my tickets. With my PHP I made a search

********************************************************
$client = new SoapClient(null, array('location'  =>
  "${url}/otrs/rpc.pl",
  'uri'       => "Core",
  'trace'     => 1,
  'login'     => 'XXXXXXXXXXX',
  'password'  => 'XXXXXXXXXXX',
  'style'     => SOAP_RPC,
  'use'       => SOAP_ENCODED,
));
$data = $client->__soapCall("Dispatch", array($username, $password,
  "CustomerUserObject", "CustomerSearch",
  "Search", "*",
));
********************************************************

Sometimes (it is not regular) I have a PHP soap fault.
********************************************************
Can't use string ("Core") as a HASH ref while "strict refs"
********************************************************

and no information in logs.

Has anybody meet this problem ?

Regards,

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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