AXL SOAP in CUPS 7.04: Authentication error ?

Version 1
    This document was generated from CDN thread

    Created by: Michael Kunz on 26-08-2009 02:27:14 PM
    Hi all developers,
     
    When accessing CUPS 7.0.4 via AXL SOAP we get a "The request failed with HTTP status 401: Unauthorized" error back. The code is working for CUPS 7.0.2 and for all CUCM versions. The code is in use for the Uplinx Report Tool to generate documentation and it is causing grief for our customers with the latest CUPS 7.0.4.
     
    According to the release notes nothing has changed between CUPS 7.0.2 and 7.0.4 to the SOAP API.....Anyone has some advice ? It seems that the authentication is broken in 7.0.4. There are no entries in the SOAP monitor.
     
    --- Further investigation on Friday 28 August ---
    A trace of the Cisco AXL Service via RTMT contains:
     
    2009-08-27 20:04:49,481 INFO  [http-8443-3] axl.AXLRouter - AXL servlet is initializing
    2009-08-27 20:04:49,498 ERROR [http-8443-3] axl.AXLRouter - Axl throttler counter: Initialization failed: rc = -1
    2009-08-27 20:04:49,499 INFO  [http-8443-3] axl.AXLRouter - sVERSION : 60
    2009-08-27 20:04:49,523 ERROR [http-8443-3] axl.AXLRouter - <a>mailto:com.cisco.ccm.axl.AXLRouter@132fc5f</a>]
    com.cisco.ccm.axl.DataValidationException: A required method parameter was null
     at com.cisco.ccm.axl.AXLRouter.isUserAuthorized(AXLRouter.java:539)

     at com.cisco.ccm.axl.AXLRouter.doPost(AXLRouter.java:204)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
    <cut>
     at java.lang.Thread.run(Thread.java:619)
    2009-08-27 20:04:49,563 INFO  [http-8443-3] axl.AXLRouter - sVERSION : 60
     
    Even when setting the database to 7  (so that sVersion is sVERSION : 70 in the trace) has the same exception.
     
    Seems like this is a bug in AXL for CUPS 7.0.4 (when AXL calls for Authorization). Has anything changed how to pass the userid/pswd into this API ? Is there a workaround or fix from Cisco ? 
     
     
    ---
    Anyone ? Has anyone succeeded in AXL to CUPS version 7.04 ?
     
     

    Subject: RE: AXL SOAP in CUPS 7.04: Authentication error ?
    Replied by: Jason Sleep on 27-10-2009 06:41:31 AM
    Hi Michael,
     
    We are having the same issue here.
    I will investigate some more and let you know if I find anything.
     
    Regards
    Jason