• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

New to Axis2 - Unable to see the service

Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to Axis2 (using 1.5), but familiar with Axis1. I am trying to see the service using the Axis2 admin console. I am unable to see the service. That can mean many things. Any suggestion will be appreciated. Following are the steps I ahve taken:

1. Deployed axis2.war. As such, I can successfully see http://localhost:9081/axis2/services/listServices But obviously, the new service created by me is not in that list.

2. Created a Java web project and deployed it in the same server where axis2 admin application was deployed. The structure of the Java project is:



I create a EAR file for this project and deploy it. Axis2WebWs gets deployed successfully. I am not (nor do want to) use Axis2 Admin console for deploy. I was hoping that the url below will show my service add:

Instead it only lists getVersion method from Axis2 Admin console.

What am I missing?

Even though I do not want to deploy it using Axis2 Admin console, but for troubleshooting purposes, I changed ear file to aar file and wanted to upload that aar file using Axis2 Admin console. When I looked for the service, it mentioned faulty service. I said that cannot find services.xml.

Any suggestion will be appreciated. Again, I want to deploy the EAR file using Admin console of the app server only (will be scripted eventually), instead of relying on Axis2 Admin console.
Posts: 43081
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could either use the admin client's Ant task (for which you'd need a jar file containing the classes and a WSDD deployment descriptor), or you can create an .aar file that contains the classes and a META-INF/services.xml file. A loose META-INF directory will not work, no matter where it's located.
Don't touch me. And dont' touch this tiny ad:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic