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 ?