Cisco Unified Application Environment Developer Forums

« Back to Developers

AXl from Java based application

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi to all, I'd le to use AXL Native methods, from my etch java application, but in the documentatin I have't seen  such a package.
Is there any packge to access AXl from Java etch application ?
Thank you
 
Attachments:

Hi Stefania,
You can download the AXL toolkit from the CUCM and use the AXL APIs directly with the help of the AXL toolkit through WSDL programming procedures.

Thanks & Regards,
Sudhanshu

Thank you for the response.
I have another issue:
I installed CUAE Eclipse plugin and I selected as Additional Service cisco.uc.cuae.legacy.ApplicationResources.
When I try to build the script build.xml with ant, I get this error:

] java.lang.Exception: null could not find mixin 'cisco.uc.cuae.legacy.ApplicationResources' at line 23
at etch.compiler.EtchCompiler.compile(EtchCompiler.java:397)
at etch.compiler.EtchCompiler.compile(EtchCompiler.java:357)
at etch.compiler.EtchCompiler.run(EtchCompiler.java:82)
at etch.compiler.EtchMain.run(EtchMain.java:363)
at etch.util.cmd.Program.main(Program.java:58)
at etch.compiler.EtchMain.doMain(EtchMain.java:52)
at etch.compiler.EtchMain.main(EtchMain.java:39)

What's the problem ?

Hi Stefania,
Is CUAE dev tools installed on your system? CUAE dev tools need to be installed on your system because it installs Etch. The error that you mentioned generally arises if CUAE dev tools is not installed.

Thanks & Regards,
Sudhanshu

Yes, it's installed. The above error arise only if I refer to the legacy.ApplicationResources.
I also don't find any documentazion about this package (C:\Program Files\Cisco Systems\Unified Application Environment\Documentation\java\Legacy).


Thank you.

Hi Stefania,
Are all the required mixins added in the .etch file that gets created on creating the application? This error can also be seen if the appropriate mixin is not added in the .etch file. You can refer an example for a httpmakecall etch application that describes all the steps in detail. Please find below the link for the HttpMakeCall etch example (Java version) :

http://developer.cisco.com/web/cuae/wikidocs/-/wiki/Main/HttpMakeCall-Java



Thanks & Regards
Sudhanshu

This is my etch files:

// CUAE Application Etch Service Definition
//
// This service defines your application and the CUAE services that you
// use in your application.

// The service module namespace, this will be translated to the
// namespace of the generated source code.
module pppppppp

// The name of your service.
service pppppppp
{
// By default, you must always use the EtchBridge service. Do not
// remove this mixin, otherwise your application won't work.
mixin cisco.uc.cuae.EtchBridge



//Additional Service Mixins...
mixin cisco.uc.cuae.legacy.ApplicationResources
mixin cisco.uc.cuae.legacy.CallControl


// You may add any additional service mixins that you require. For
// example, if you'd like to make and receive phone calls, add the
// following line:
// mixin cisco.uc.cuae.legacy.CallControl
mixin cisco.uc.cuae.legacy.CallControl

}
as you can see I've referenced the mixin required.

Hi Stefania,
Can you describe your use case in detail? It would really be helpful if you could explain your design scenario for which you want to add this particular mixin.

Thanks & Regards,
Sudhanshu

Nothing at the moment, I'm doing some test to see what I can build with CUAE, because I have to use it in my project.
I think the above error can't depend by a use case scenario.
I have another important question, I've posted in another thread:

http://developer.cisco.com/web/cuae/forums/-/message_boards/view_message/4507937

Do you know the answer ?