I have the CUCM 7.1 WSDL imported and compiled into stub code in Eclipse (Java).
I was wondering if someone could explain how you actually setup the initial connection using the AXLAPIService and AXLPort. The reason I ask is because:
1. I can't find the actual URL for the CUCM WSDL so I can reference this in my code instead of a local file on disk (not very portable)
2. I can't for the life of me figure out where you actually put the AXL username and password into the AXLAPIService
If anyone has some example Java code on setting up the connection, URL for WSDL and authentication etc. it would be greatly appreciated.
I found this on a Networkers presentation, but it bears no resembelance to the CUCM 7.1 WSDL/XSDs you download from CUCM.
What do we have?
AXLAPIServiceLocator : Where is the service?
AXLAPIBindingStub : Container for all generated methods
AXL user and password have to be set
Create ServiceLocator and set AXL URL:
com.cisco.www.AXLAPIService.AXLAPIServiceLocator loc= new AXLAPIServiceLocator ();
Create stub and set user and password:
com.cisco.www.AXLAPIService.AXLAPIBindingStub stub =
Ready to go!