This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes Unable to use WS inside J2EE component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Web Services
Bookmark "Unable to use WS inside J2EE component" Watch "Unable to use WS inside J2EE component" New topic

Unable to use WS inside J2EE component

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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 ]
I agree. Here's the link:
subject: Unable to use WS inside J2EE component
It's not a secret anymore!