Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
AXl from Java based application - Forums
Cisco Unified Application Environment
Forums
Blogs
Wiki
Downloads
Documentation
Cisco Unified Application Environment Developer Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Developers
AXl from Java based application
Threads [
Previous
|
Next
]
Stefania Oliviero
Posts:
38
Join Date:
9/12/08
Recent Posts
AXl from Java based application
Answer
9/15/11 1:58 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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:
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Sudhanshu Tripathy
Posts:
21
Join Date:
6/28/10
Recent Posts
RE: AXl from Java based application
Answer
9/16/11 7:36 AM as a reply to Stefania Oliviero.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Stefania Oliviero
Posts:
38
Join Date:
9/12/08
Recent Posts
RE: AXl from Java based application
Answer
9/16/11 9:25 AM as a reply to Sudhanshu Tripathy.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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 ?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Sudhanshu Tripathy
Posts:
21
Join Date:
6/28/10
Recent Posts
RE: AXl from Java based application
Answer
9/16/11 12:43 PM as a reply to Stefania Oliviero.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Stefania Oliviero
Posts:
38
Join Date:
9/12/08
Recent Posts
RE: AXl from Java based application
Answer
9/19/11 11:12 AM as a reply to Sudhanshu Tripathy.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Sudhanshu Tripathy
Posts:
21
Join Date:
6/28/10
Recent Posts
RE: AXl from Java based application
Answer
9/20/11 5:20 AM as a reply to Stefania Oliviero.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Stefania Oliviero
Posts:
38
Join Date:
9/12/08
Recent Posts
RE: AXl from Java based application
Answer
9/21/11 2:21 PM as a reply to Sudhanshu Tripathy.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Sudhanshu Tripathy
Posts:
21
Join Date:
6/28/10
Recent Posts
RE: AXl from Java based application
Answer
9/22/11 7:29 AM as a reply to Stefania Oliviero.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Stefania Oliviero
Posts:
38
Join Date:
9/12/08
Recent Posts
RE: AXl from Java based application
Answer
9/22/11 9:37 AM as a reply to Sudhanshu Tripathy.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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 ?
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top