Re: CISCO getting user information, like login / name
Jörg Wiesmann <[email protected]> Wed, 22 Mar 2006 13:17:02 +0100
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <[email protected]> |
Hi Ana,
The device apears to be a valid device, cause if i change the name, i
get the error you are describing.
The device is a cti device.
I think i am doing everything right, or i am missing something? Is it
possible that i have to enable
some settings in the callmanager? Or is it just enough to have access to it?
And why do i get correct informations about the user and everything else
i tried returns
[...]
<message> <![CDATA[Unknown error]]></message>
[...]
or something like .. <hello> is wrong expected <uuid> .. [not really an
error, i fixed them and again get unknown error]
my code again:
***********
sAXLRequest = "<SOAP-ENV:Envelope
xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" ";
sAXLRequest +=
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
sAXLRequest +=
"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
sAXLRequest += "<SOAP-ENV:Body>";
//WORKS
/*
sAXLRequest += "<axl:getUser
xmlns:axl=\"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\">";
sAXLRequest += "<userid>vde</userid>";
sAXLRequest += "</axl:getUser>";*/
//WORKS NOT
sAXLRequest += "<axl:getPhone
xmlns:axl=\"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\">";
sAXLRequest += "<phoneName>SEP00120111B0AD</phoneName>";
sAXLRequest += "</axl:getPhone>";
sAXLRequest += "</SOAP-ENV:Body>";
sAXLRequest += "</SOAP-ENV:Envelope>";
... i hope you do not give me up :)
Thank you for the AXL methods !!
greetz Jörg
Ana Soares wrote:
> Let me see,
>
> First I am sending you a schema with all AXL methods.
>
> Normaly the king of error that give's me, is when the device was not found
>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Client</faultcode>
> <faultstring>
> <![CDATA[Item not valid: The specified phone was not
> found.]]></faultstring>
> <detail xmlns:axl=" http://www.cisco.com/AXL/API/1.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation=" http://www.cisco.com/AXL/API/1.0
> http://CCMDEV41/CCMApi/AXL/V1/axlsoap.xsd">
> <axl:error sequence="1234">
> <code>2</code>
> <message>
> <![CDATA[Item not valid: The specified phone was not found.]]></message>
> <request>getPhone</request>
> </axl:error>
> </detail>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> But you have talk about cti, that device you have isn't a cti device?
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".