Re: need help of a cisco professional ( SOAP / AXL / CCM)
"David Staudt (dstaudt)" <[email protected]> Mon, 24 Jul 2006 10:00:00 -0700
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <EB3E0A90F05D7B44B20E05EF5A81951001DAFEE7@xmb-sjc-212.amer.cisco.com> |
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 = recent service releases, and we are actively working to clean up the = .xsds in the meantime. Please confirm the issues you describe below are = present 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:[email protected]] 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 = using 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, = given 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.xsd = parsing a schema... [ERROR] s4s-elt-invalid-content.1: The content of = 'UpdateVoiceMailPilotReq' 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 = element 'uu line 522 of file:/C:/serverAXL2/axlsoap.xsd [ERROR] e-props-correct.2: Invalid value constraint value 'false' in = element '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 = elements f nique Particle Attribution". During validation against this = schema, ambiguity wo line 6701 of file:/C:/serverAXL2/axlsoap.xsd [ERROR] cos-nonambig: "":tunneledProtocol and "":tunneledProtocol (or = elements f nique Particle Attribution". During validation against this = schema, 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 result = 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 = response. 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 = 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 body of the message "signoff JTAPI-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".