Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Faulty Services

 
feda alshahwan
Ranch Hand
Posts: 170
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed axis2 as aserver and tomcat6 as servlet container.then tried to upload example1 but it is telling faulty services however I created myservice.jar then renamed it to myservice.aar and copied it to webapps/axis2/WEB-INF" of tomcat.
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you help me please?
the error I get when I browse axis2 services is:
Faulty Services
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis2\WEB-INF\services\HelloServer.aar
C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\axis2\WEB-INF\services\myservice.aar
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a proper Axis service archive file? An *.aar file isn't just a jar file that contains the classes, it also contains the META-INF/services.xml file. Does this file have that?
 
feda alshahwan
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear how can I know if it includes services? which commands does this
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the "jar" tool to inspect .aar files.

Isn't your build process creating the .aar file, so that you should know what goes into it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic