Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 - Getting "Auth.xml can't be resolved" error

Shailesh Welankar
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Fellow Ranchers

I am trying to generate client stubs using Axis2 wsdl2java (with v1.4, v1.5 as well as v1.5.1) for a Web Service WSDL that is hosted on Linux machine over SSL (https). The JDK am using for this is JDK5.0_22

While the http version works perfectly fine, the https version gives me the following error (I HAVE got the respective security cert in Axis2's cacerts file, and thats NOT the issue).

I can see the Auth.xml reference at message level in the WSDL file as follows -

I have found this thread from Axis2 JIRA
which mentions the same doubts as I have stated above (no support for message level Security Policies in Axis2 as yet), but just wanted to confirm from anybody having faced similar issue that my claims are valid. And also if there is any work-around for this? Currently I am using XML payload based client interactions (SOAPMessage requests) to interact with the service, but wanted to to have dynamic interactions going forward as far as possible.

Thanks in advance. Please do let me know.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic