This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41151
    
  45
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: 41151
    
  45
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Faulty Services
 
Similar Threads
Faulty Web Services
Axis2-Redploying faulty service
Axis2 class cast exception in tomcat
Problem in using rampart-1.5
New article: Web Services Authentication with Axis 2