logo       

Cisco AXL Soap: msg#00083

php.nusoap.general

Subject: Cisco AXL Soap

Hi everyone,

 

I’m new to this mailing list and new to SOAP. I’m wondering if anyone wrote a client for Cisco AXL. I can’t seem to get my client to work, seems to be no response from the server when posting a request (doesn’t return). I’m sure the server is fine though.

 

Here’s my code:

 

$s = new soapclient("http://username:password@hostname/CCMApi/AXL/V1/soapisapi.dll");                                               

# I also tried using this instead of putting user name and password above.

#$s->setCredentials("username", "password”, 'digest');

$err = $s->getError();

if ($err) {

        print $err;

}

                                                                                                                                               

$msg = '<axl:getPhone xmlns="http://www.cisco.com/AXL/1.0"'.

        'xsi:schemaLocation="http://www.cisco.com/AXL/1.0 '.

        'http://gkar.cisco.com/schema/axlsoap.xsd sequence="1234">' .

        '<phoneName>SEP0003E32A1806</phoneName></axl:getPhone>';

$s->call('getPhone', $msg);     

 

if ($s->fault) {

        echo "FAULT: <p>Code: {$s->faultcode} <br />";

        echo "String: {$s->faultstring} </p>";

}

 

Any help would be appreciated.

 

Thanks,

Chhai

 

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise