Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to use WS inside J2EE component

Hussein Baghdadi
clojure forum advocate
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I am using J2EE 1.4 RI.
I want to access my web service using my JSP page using a static stubs.
I have added the web service to the JNDI ENC.
my files are :
wscompile tool generates the following :
the code in the JSP page :

running the JSP, I got :
IllegalArgumentException: object is not an instance of declaring class
(it is worth noting that my JSP is uses the classes generated by wscompile tool which are resides in sstub package, not in com package which contains my JSE, so this JSP page is import sstub package not com)
any help ??
[ January 13, 2005: Message edited by: John Todd ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic