This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 41092
    
  44
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: 41092
    
  44
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?
 
jQuery in Action, 2nd edition
 
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