Re: CISCO getting user information, like login / name

Ana Soares <[email protected]> Wed, 22 Mar 2006 16:00:52 +0000
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
The code it seems to be rigth, and you don't have to enable nothing in CCM.
The only thing i see here is that the user doesn't have permissions to see
everything.



> 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/\<http://schemas.xmlsoap.org/soap/envelope/%5C>"
> ";
>             sAXLRequest +=
> "xmlns:xsi=\" http://www.w3.org/2001/XMLSchema-instance\<http://www.w3.org/2001/XMLSchema-instance%5C>"
> ";
>             sAXLRequest +=
> "xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\<http://www.w3.org/2001/XMLSchema%5C>
> ">";
>             sAXLRequest += "<SOAP-ENV:Body>";
>             //WORKS
>             /*
>             sAXLRequest += "<axl:getUser
> xmlns:axl=\"http://www.cisco.com/AXL/1.0\<http://www.cisco.com/AXL/1.0%5C>
> "
> xsi:schemaLocation=\" http://www.cisco.com/AXL/1.0
> http://gkar.cisco.com/schema/axlsoap.xsd\<http://gkar.cisco.com/schema/axlsoap.xsd%5C>"
> sequence=\"1234\">";
>             sAXLRequest += "<userid>vde</userid>";
>             sAXLRequest += "</axl:getUser>";*/
>
>             //WORKS NOT
>             sAXLRequest += "<axl:getPhone
> xmlns:axl=\"http://www.cisco.com/AXL/1.0\<http://www.cisco.com/AXL/1.0%5C>
> "
> xsi:schemaLocation=\"http://www.cisco.com/AXL/1.0
> http://gkar.cisco.com/schema/axlsoap.xsd\<http://gkar.cisco.com/schema/axlsoap.xsd%5C>"
> 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".
>

===========================================================================
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".