Re: need help of a cisco professional ( SOAP / AXL / CCM)

Jörg Wiesmann <[email protected]> Tue, 25 Jul 2006 08:29:02 +0200
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
Hi David,

thanks for your reply, i will try to figure out what last service
release has been installed.
You must know that i am "just" the programmer and i do not configure or
update the ccm :).
The only thing i can tell you is that the *.xsd files seem to be quite ol=
d.
Version 1.00

$Revision: 9 $
$Author: Jporche $
$Date: 1/26/01 3:49p $

Copyright (c) 2001 Cisco Systems, Inc.

Thats the information of the xsd ( axlsoap.xsd ) file.
But the last modified date of this file is 8/30/2005 and i am pretty
sure, that the guy who cares about
the ccm did not change there anything .. i can not even imagine if he
knows that these files exist :)
I will reply as soon as i found out anything new.
Btw, is there any tutorial available which handles SOAP and AXL with
CCM, using the "right" technology
and not the example "Cisco CallManager 4.0(1) AXL API Programming Guide"?
If not, i would try to write any using JAVA and send it out to you ..
maybe anybody else could find it useful
using the "right" technology ...

Regards
Joerg Wiesmann




David Staudt (dstaudt) wrote:
> Hi Jorg,
>
> The AXL service run-time code and schema .xsd files are separately (and=
 manually) maintained in CCM 4.x, and unfortunately several discrepancies=
 such as you describe have crept in.  Many problems have been fixed in re=
cent service releases, and we are actively working to clean up the .xsds =
in the meantime.  Please confirm the issues you describe below are presen=
t in the latest CCM release, and we will add them to the fix list.  TIA
>
> Regards,
> - David Staudt
>
> -----Original Message-----
> From: Discussion list for Java Telephony API [mailto:JTAPI-INTEREST@JAV=
A.SUN.COM] On Behalf Of J=F6rg Wiesmann
> Sent: Monday, July 24, 2006 3:19 AM
> To: [email protected]
> Subject: [JTAPI] need help of a cisco professional ( SOAP / AXL / CCM)
>
> Hi,
>
> i got a general question about SOAP and AXL and maybe found some bugs u=
sing this technology with JAVA and CCM 4.0.3.
>
> My Problem is that i want to call listCSSByName and get a wrong result =
back.
> I using SUN xjc.bat (webservice / JAXB) to compile the *.xsd files, giv=
en by CISCO.
> First you got to change them, to get them compiled like this:
> *********************************************************************
>
> C:\serverAXL>c:\Sun\jwsdp-2.0\jaxb\bin\xjc.bat c:\serverAXL2\axlsoap.xs=
d parsing a schema...
> [ERROR] s4s-elt-invalid-content.1: The content of 'UpdateVoiceMailPilot=
Req' is i misplaced, or occurs too often.
>   line 3799 of file:/C:/serverAXL2/axlsoap.xsd
>
> [ERROR] e-props-correct.2: Invalid value constraint value 'false' in el=
ement 'uu
>   line 522 of file:/C:/serverAXL2/axlsoap.xsd
>
> [ERROR] e-props-correct.2: Invalid value constraint value 'false' in el=
ement 'is
>   line 3935 of file:/C:/serverAXL2/axlsoap.xsd
>
> [ERROR] InvalidRegex: Pattern value '((0x[0-9a-fA-F]+)|([-\d]\d*))*' is=
 not a va or was: ''-' is an invalid character range. Write '\-'.'.
>   line 3172 of file:/C:/serverAXL2/axl.xsd
>
> [ERROR] InvalidRegex: Pattern value '((0x[0-9a-fA-F]+)|([-\d]\d*))*' is=
 not a va or was: ''-' is an invalid character range. Write '\-'.'.
>   line 3182 of file:/C:/serverAXL2/axl.xsd
>
> [ERROR] InvalidRegex: Pattern value '((0x[0-9a-fA-F]+)|([-\d]\d*))*' is=
 not a va or was: ''-' is an invalid character range. Write '\-'.'.
>   line 3192 of file:/C:/serverAXL2/axl.xsd
>
> [ERROR] cos-nonambig: "":tunneledProtocol and "":tunneledProtocol (or e=
lements f nique Particle Attribution". During validation against this sch=
ema, ambiguity wo
>   line 6701 of file:/C:/serverAXL2/axlsoap.xsd
>
> [ERROR] cos-nonambig: "":tunneledProtocol and "":tunneledProtocol (or e=
lements f nique Particle Attribution". During validation against this sch=
ema, ambiguity wo
>   line 780 of file:/C:/serverAXL2/axl.xsd
>
> Failed to parse a schema.
> *********************************************************************
>
> If you fixed these errors, you get all the classes you need to operate =
with SOAP and JAXB.
> BUT: If you want to unmarshal the result of "listCSSByName" you receive=
 this
> exception:
> javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.=
cisco.com/AXL/1.0", local:"listCSSByNameResponse").
> Expected elements are [...]
> <{http://www.cisco.com/AXL/API/1.0}listCSSByNameResponse>
>
> You see, that .../AXL/API/1.0 ( look at API ) is required and the resul=
t comes back like this:
> axl:listCSSByNameResponse
> xsi:schemaLocation=3D"http://www.cisco.com/AXL/API/1.0 [...]"
> xmlns:axl=3D"http://www.cisco.com/AXL/1.0"
>
> There is no /AXL/API it is just /AXL/1.0
>
> which means for me, that this have to be an error of the server respons=
e.
> Is there any help or info available?
> May there is a bugfix, or is it my fault?
> Please Cisco, help me :)
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> To unsubscribe, send email to [email protected] and include in the =
body of the message "signoff JTAPI-INTEREST".  For general help, send ema=
il to [email protected] and include in the body of the message "help"=
.
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> 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".
>
>
>

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
To unsubscribe, send email to [email protected] and include in the bo=
dy
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".