GetPhoneReq problem

Unanswered Question
Sep 1st, 2008
User Badges:

Hi all,

I am using AXL API of CCM version 6.

I am using the getPhone method but org.xml.sax.SAXException throws.

I think maybe the cause is that there are characters like "#", "<" or ">" in the response.

Does anybody know how to solve it?

Now both getPhone and addPhone do not work, while updatePhone works.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
stephan.steiner Mon, 09/01/2008 - 23:27
User Badges:
  • Silver, 250 points or more

I have no problem making getphone requests on CCM and I have my own XML parsing code, but it would fail just as well if the responses weren't properly encoded or properly formed.

I take it though that you're using autogenerated code whereas I have my own XML parsing (a PITA to write, but it's better to be able to work around the various bugs still incorporated into AXL).

You can always look at the AXL logs on the callmanager to see what is being sent back to you if you suspect it's invalid XML.

mvtonytjo Thu, 09/04/2008 - 19:39
User Badges:

I have downloaded axltoolkit and use the AXLAPI.wsdl and AXLSoap.xsd inside, with Axis 1.4 to generate the Java class.

In the readme.txt of the toolkit, it states:

II. The second axis jira is related to having a string constructor for simple types


For such cases the corresponding schema file(axl.xsd) in the parent schema folders must be referred and implement the String class that these classes can inherit.

Could you please explain how to do it?

I know nothing about PITA. Could you please talk a little about it, or send some links of reference to me?

Thanks a lot!!


318touring Wed, 10/29/2008 - 15:50
User Badges:

The text returned for the URL element contains # characters.

The unused xsd file, axl.xsd identifies the url element as a xsd:string type, in which case that url would be valid.

mvtonytjo Thu, 10/30/2008 - 20:41
User Badges:

Hi 318touring,

Could you please explain how to use the axl.xsd to generate the codes??

I used wsdl2java to generate codes from AXLAPI.wsdl only.


stephan.steiner Fri, 10/31/2008 - 00:59
User Badges:
  • Silver, 250 points or more

PITA = Pain in the A....

Maybe one day we'll opensource our manual lib in the hopes that others will participate.. it certainly makes things easier if you know that something has been tested and is in productive use.


This Discussion