How to access CUCM using AXLAPI and AXIS2(web services) in Java

Version 1
    This document was generated from CDN thread

    Created by: venkatesh mul on 04-05-2010 09:57:16 AM
     Hi Everyone,

    I'm new for AXL development. I have to access Cisco CallManager using the following java interface.

    public interface CucmService
    {
          public List<String> getPhoneNumber(String username);
          public String getCallForwardingData(String line);
          public void setCallForwardingData(String line, String numberToForward);
         
    }

    I have to provide an implementation class for this interface using AXLAPI with AXIS2. Can anyone help me how to achieve this step by step please?

    Regards,
    Venkatesh

     

    Subject: RE: How to access CUCM using AXLAPI and AXIS2(web services) in Java
    Replied by: David Staudt on 04-05-2010 01:39:37 PM
    There are a lot of steps, many of which require some decisions
     
    This how-to may help get you started: http://developer.cisco.com/web/axl/wikidocs?src=/wiki/display/AXL/how-to_Axis

    Subject: RE: How to access CUCM using AXLAPI and AXIS2(web services) in Java
    Replied by: venkatesh mul on 06-05-2010 12:27:12 PM
    Hi Staudt,
     
    Thanks for your information. I had gone through the information in the link you have provided, but is incomprehensible to implement ¿ L
     
    I am using Eclipse Galileo (WTP), JAX-WS, Axis2 and axlsqltoolkit. Hope these tools fulfill my requirement.
     
    As a first step shall I need to create the stub classes (Web service client)?  ¿ Which ¿?wsdl¿ I have to use to create the client?
     
    Could you please provide if you have the steps to create stub classes to access CUCM and also a sample java class with some methods (like getPhoneNumber, setPhoneNumer  ... etc) using AXL API.
     
    Regards,
    Venkatesh

    Subject: RE: How to access CUCM using AXLAPI and AXIS2(web services) in Java
    Replied by: Nino Martinez on 28-05-2010 09:02:49 AM
    Hi Venkatesh
     
    I have a maven job which generates the stub, I've attached it including the generated stub. However I am having trouble getting it to work without errors.
     
    So I am on the same road as you..
     
    Please tell me if you get any breakthroughs..