This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to access WS in J2EE way

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I want to access my Java web service from my JSP using JNDI.
my web services consists of the following files :
com.SearchPerson
com.SearchPerson_Impl
I deployed this web service in J2EE 1.4 without any problems.
I used wscompile tool to generate the static stubs, like :
sstub.SearchPerson
sstub.SearchPersonService
sstub.SearchPersonService_Impl.class
// other files goes here...
this is a snippet from web.xml file

here is webservices.xml :

in my JSP page I wrote (this JSP importing sstub package not com):

when running the application, I got :
IllegalArgumentException: object is not an instance of declaring class
any ideas ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic