cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
854
Views
0
Helpful
1
Replies

sample AXL code to add device profile for Extension mobility

PriyankaSK0179
Level 1
Level 1

Hi,

 

I did the sample java code from AXL developer guide and it works fine.

I am looking for a java code to add device profiles for extension mobility.

 

attached is the section of the code i added on the sample and it gives an error

 

at com.sun.proxy.$Proxy34.addMobilityProfile(Unknown Source)
at com.cisco.axl.demo.Demo1.getPhone(Demo1.java:210)--->StandardResponse sr line from my code
at com.cisco.axl.demo.Demo1.getPhoneInfo(Demo1.java:142)      
at com.cisco.axl.demo.Demo1.main(Demo1.java:122)

Any help would be appreciated

1 Reply 1

Jonathan Schulenberg
Hall of Fame
Hall of Fame

Two suggestions:
1. Don’t reinvent an extraordinarily complicated wheel. Use a provisioning tool with a clean northbound REST API; Akkadian PME is one example. This is a far more complicated topic than it may seem at first; there is a lot of input validation occurring in the CUCM Admin GUI that does not exist in the AXL API. Each of the vendors who have developed a provisioning product have spent far more time than they anticipated working through issues/bugs because of this.
2. Consider posting this question in the DevNet portion of the community where software developers are more likely to see it: https://community.cisco.com/t5/custom/page/page-id/customFilteredByMultiLabel?board=j-disc-dev-collab-mgmt&labels=axl