Building AXL Java Classes with WSDL2Java (warnings)

Version 1
    This document was generated from CDN thread

    Created by: GREGORY LEGGETT on 01-12-2010 03:52:55 PM
    I have tried to build the the java classes with WSDL2Java from AXIS2 versions 1.2, 1.4, and 1.5.3, and consistently get the same responses:
     
    wsdl2java -uri ..\lib\AXLAPI.wsdl
    Using AXIS2_HOME:   <path>\axis2-1.4.1-bin\axis2-1.4.
    1
    Using JAVA_HOME:    <path>\jdk1.6.0_21\jre
    Retrieving document at '..\lib\AXLAPI.wsdl'.
    Retrieving schema wsdl:imported from 'AXLSoap.xsd', relative to 'file:/<path>/axis2-1.5.3-bin/axis2-1.5.3/bin/../lib/AXLAPI.wsdl'.
    Retrieving document at '..\lib\AXLAPI.wsdl'.
    Retrieving schema wsdl:imported from 'AXLSoap.xsd', relative to 'file:/<path>/axis2-1.5.3-bin/axis2-1.5.3/bin/../lib/AXLAPI.wsdl'.
    Type cic missing!
    Type networkServiceProtocol missing!
    Type networkService missing!
    Type paramValue missing!
    Type name missing!
    Type pilotUserId missing!
    Type newUserId missing!
    Type networkHoldMOHAudioSourceId missing!
    Type userHoldMOHAudioSourceId missing!
    Type cic missing!
    Type networkServiceProtocol missing!
    Type networkService missing!
    Type paramValue missing!
    Type name missing!
     
    These warning/error messages don't seem to match the ones I have seen in the readme notes, so I am not sure if this is expected.  Is this something to be concerned about?
     
    Also, is there a specific list of jar's that should be used with WSDL2Java for the build?  In each of the scenarios, I am using the ones provided in the ./lib folders with AXIS2.

    Subject: RE: Building AXL Java Classes with WSDL2Java (warnings)
    Replied by: GREGORY LEGGETT on 31-03-2011 10:52:53 AM
    Just a quick note for anyone trying to create Java classes from the CUCM 6.x wsdl files, and I know it has been mentioned in other places;  don't use Axis2.  To fix the problem I used Apache Axis 1.4, not Axis2 1.4, and used the wsdl schema version that matched my CUCM build, in my case 6.1.  Another change that seemed to help me quite a bit was changing from Netbeans IDE to Eclipse.  I'm not sure why it would matter, but Netbeans threw errors for some of the classes that Eclipse didn't.

    This is just my two cents on the matter.

    Subject: RE: Building AXL Java Classes with WSDL2Java (warnings)
    Replied by: Gordon Ross on 06-04-2011 03:23:57 AM
    Just a quick note for anyone trying to create Java classes from the CUCM 6.x wsdl files, and I know it has been mentioned in other places;  don't use Axis2.  To fix the problem I used Apache Axis 1.4, not Axis2 1.4, and used the wsdl schema version that matched my CUCM build, in my case 6.1.  Another change that seemed to help me quite a bit was changing from Netbeans IDE to Eclipse.  I'm not sure why it would matter, but Netbeans threw errors for some of the classes that Eclipse didn't.


    I've managed to get Axis1 to work for the Serviceability APIs, but I've totally failed to get Axis1 or Axis2 to work for the Administration API. (I'm on CUCM 8.0)
     
    GTG