aspose file tools*
The moose likes Web Services and the fly likes Faulty Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Faulty Services" Watch "Faulty Services" New topic
Author

Faulty Services

feda alshahwan
Ranch Hand

Joined: Jul 26, 2008
Posts: 170
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

Joined: Jul 26, 2008
Posts: 170
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
Marshal

Joined: Mar 22, 2005
Posts: 41874
    
  63
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?


Ping & DNS - my free Android networking tools app
feda alshahwan
Ranch Hand

Joined: Jul 26, 2008
Posts: 170
Dear how can I know if it includes services? which commands does this
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41874
    
  63
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?
 
Consider Paul's rocket mass heater.
 
subject: Faulty Services