permaculture playing cards*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 3476

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 ?
It is sorta covered in the JavaRanch Style Guide.
subject: Unable to access WS in J2EE way
Similar Threads
Webservice and remote ejbs
Service with handlers on JBoss. BIG Problem
Handlers declaration
service-ref and mapping file
configuring handlers programmatically