Help - Search - Members - Calendar
Full Version: 'GetHardwareByIPAddressRequest' already defined
The Planet Forums > API > API Support
Menta2K
I got following error when i try to use the HardwareService:
CODE
SoapFault Object
(
    [message:protected] => SOAP-ERROR: Parsing WSDL:  'GetHardwareByIPAddressRequest' already defined
    [string:private] =>
    [code:protected] => 0
    [file:protected] => /home/reseller/site/library/xxxxx/Service/Orbit.php
    [line:protected] => 40
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/reseller/site/library/xxxxx/Service/Orbit.php
                    [line] => 40
                    [function] => SoapClient
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => https://api.theplanet.com/Svc/HardwareHardwareService.svc?WSDL
                            [1] => Array
                                (
                                    [login] => xxxxx
                                    [password] =>xxxxx
                                )

                        )

                )

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/HardwareHardwareService.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);
}
?>

The error looks very similar as the error that i have reported before few days:
'AddTicketRequest' already defined

Maybe is same case ?
Shelby Cain
QUOTE (Menta2K @ Jun 5 2009, 05:02 PM) *
The error looks very similar as the error that i have reported before few days:
'AddTicketRequest' already defined

Maybe is same case ?


This does look like the same issue. I'm going to follow up with the original developer that fixed this.
Menta2K
Any news on that issue ?
I am still getting 'GetHardwareByIPAddressRequest' already defined error
Shelby Cain
Unfortunately, no updates as of yet. I'll see about getting a manager involved.
Shelby Cain
A fix for this issue has been pushed to production. Could you verify your test case and report your results?
Menta2K
Yes its works just fine now thanks for the update.
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.