Log In
Technologies
Join the Network
Member Services
Events & Community
AXL Developer
Administrative XML
What is Administrative XML?
AXL Versioning
Develop and Test
Get Started
Documentation
Latest Version
Previous Versions
Operations By Release
Product Related Documentation
Build a Development Lab
Learn
Sample Apps
How To
AXL Developer Cookbook
Community and Support
Forums
Blogs
CDN Membership
Open a Support Case
Report Site Problems
FAQs
Collaboration Developer Sites
Collaboration Hub
Jabber Developer
WebEx Web Conferencing Developer
WebEx Social Developer
Voice and UC Developer
Voice and UC PAWS Developer
Contact Center Developer
Breadcrumbs
Community and Support
Forums
Administration XML Questions
RE: 401 (Unauthorized) error accessing AXL
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Administration XML Questions
RE: 401 (Unauthorized) error accessing AXL
Threads [
Previous
|
Next
]
Komalkumar Tagdiwala
Posts:
5
Join Date:
4/18/09
Recent Posts
401 (Unauthorized) error accessing AXL
Answer
1/24/13 4:41 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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)
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Komalkumar Tagdiwala
Posts:
5
Join Date:
4/18/09
Recent Posts
RE: 401 (Unauthorized) error accessing AXL
Answer
1/25/13 3:07 AM as a reply to Komalkumar Tagdiwala.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
I figured out the problem. I was using the administrator user instead of application user.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top