Help - Search - Members - Calendar
Full Version: 'AddTicketRequest' already defined
The Planet Forums > API > API Support
Menta2K
I got following error when i try to use the TicketService:

CODE
SoapFault Object
(
    [message:protected] => SOAP-ERROR: Parsing WSDL:  'AddTicketRequest' already defined
    [string:private] =>
    [code:protected] => 0
    [file:protected] => /home/someware/public_html/orbit/t.php
    [line:protected] => 47
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/someware/public_html/orbit/t.php
                    [line] => 47
                    [function] => SoapClient
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => https://api.theplanet.com/Svc/TicketTicketService.svc?WSDL
                            [1] => Array
                                (
                                    [login] => xxxxxxx
                                    [password] => xxxxxxx
                                    [trace] => 1
                                )

                        )

                )

        )

    [faultstring] => SOAP-ERROR: Parsing WSDL:  'AddTicketRequest' already defined
    [faultcode] => WSDL
)

Bellow is the PHP code that i am using:
CODE
<?php
ini_set('soap.wsdl_cache_enabled', false);
$wsdl_url =  'https://api.theplanet.com/Svc/TicketTicketService.svc?WSDL';
$params = array(
        "login" => "xxxxxx",     //your orbit api username
        "password" => "xxxxx",   //your orbit api password
        'trace' => true
);
try {
$hw_svc = new SoapClient($wsdl_url, $params);
} catch (Exception $e) {
    echo "<pre>";
    echo print_r($e);
}
?>

Am i missing something ?
Shelby Cain
We apologize for the inconvenience and are currently researching this issue.
Shelby Cain
This was the result of a bug in one of our core api modules that only manifest itself at random due to differences between our test and production environments. An emergency fix has been deployed and the api should be fully functional.

I apologize for any inconvenience this caused.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.