permaculture playing cards
The moose likes Web Services and the fly likes Need help please... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need help please..." Watch "Need help please..." New topic

Need help please...

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hey all.
I need some help please.
I am using Axis 1.1 and Tomcat 4.1.27 LE and SDK 1.4.2.
I have created a simple class representing a book (name and author fields) and a BookStore
class which creates some books.
I put the class files of Book and BookStore under axis/WEB-INF/classes dir
the deployment descriptor for this service is :

then I deployed the service (checking happyaxis.jsp and every thing is OK).
then I wrote the following command :
java org.apache.axis.wsdl.WSDL2Java -v bookservice.wsdl
and I got the following :
I compiled these files and put them under webapps/myws/WEB-INF/classes dir
(later I put them under axis/WEB-INF/classes also).
and I put xercexImpl.jar under %CATALINA_HOME%\commons/lib
and copied all axis's jar files to commons/lib dir
I have the following servlet :

this line :
result = ((BookserviceSoapBindingStub)bs).getBookById(2);
is producing JasperException with a null getMessege( ) !
I tried the following command :
then I wrote the following command :
java org.apache.axis.wsdl.WSDL2Java -v -s bookservice.wsdl
its produced some extra files and a new deploy.wsdd file.
some help ranchers please.
I agree. Here's the link:
subject: Need help please...
It's not a secret anymore!