This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSAD Generated JSP Web Service Client Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "WSAD Generated JSP Web Service Client Problem" Watch "WSAD Generated JSP Web Service Client Problem" New topic
Author

WSAD Generated JSP Web Service Client Problem

Daniel Dor-Chay
Greenhorn

Joined: Feb 29, 2004
Posts: 8
Hi,

Here�s a summary of the problem.
Consider the following in WSAD:

Class A { }
Class B extends A {}

Class A contains a private field x with getter and setter methods.

Class WebService {
public void call(B b) {}
}
WSAD user chooses to expose the call() method in the WebService class as a web service.
He uses the Java Bean Web Service Wizard and chooses to generate a JSP based web service client.
The JSP page generated allows the user to input data for the fields in Class B however it does not provide functionality to allow input of the inherited data from Class A.
Is this a bug? If so is there an easy workaround?

Thanks,
Daniel.
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Answers in this article.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
GeeCON Prague 2014
 
subject: WSAD Generated JSP Web Service Client Problem