This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Unable to access WS in J2EE way Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Unable to access WS in J2EE way" Watch "Unable to access WS in J2EE way" New topic

Unable to access WS in J2EE way

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hi all.
I want to access my Java web service from my JSP using JNDI.
my web services consists of the following files :
I deployed this web service in J2EE 1.4 without any problems.
I used wscompile tool to generate the static stubs, like :
// 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:
subject: Unable to access WS in J2EE way