cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2061
Views
0
Helpful
1
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Komalkumar Tagdiwala on 23-01-2013 10:39:24 PM
I am new to AXL development and followed all the steps outlined on http://developer.cisco.com/web/axl-developer/axl-java-sample-application to build the sample application. I also double-checked to ensure that the AXL Service is activated and appropriate user groups, roles and permissions added. I exported the SSL certificate from the AXL url https://mycucmhost:8443/axl/ and added it to my keystore using the keytool command. I then confirmed using keytool -list command to ensure that the certifcate shows up in the keystore. However, when I attempt to run the AXL Demo application, I keep getting the certificate error shown below   Jan 23, 2013 8:33:18 PM com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser parseWSDL WARNING: [failed to localize] wsdl.import.should.be.wsdl(file:/C:/eclipse_current/workspace/cucm-poc/schema/current/AXLSoap.xsd) Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:196)     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:168)     at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:83)     at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105)     at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:587)     at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:546)     at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:531)     at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:428)     at com.sun.xml.internal.ws.client.Stub.process(Stub.java:211)     at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:124)     at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)     at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)     at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)     at $Proxy33.getPhone(Unknown Source)     at com.cisco.axl.demo.Demo.getPhone(Demo.java:158)     at com.cisco.axl.demo.Demo.getPhoneInfo(Demo.java:126)     at com.cisco.axl.demo.Demo.main(Demo.java:102)

Subject: RE: 401 (Unauthorized) error accessing AXL
Replied by: Komalkumar Tagdiwala on 24-01-2013 09:07:04 PM
I figured out the problem. I was using the administrator user instead of application user.
Comments
omar.benrouijel
Level 1
Level 1

hello,

did you add .crt file to the JVM ?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links