File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSAD Generated JSP Web Service Client Problem" Watch "WSAD Generated JSP Web Service Client Problem" New topic

WSAD Generated JSP Web Service Client Problem

Daniel Dor-Chay

Joined: Feb 29, 2004
Posts: 8

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?

Kyle Brown
Ranch Hand

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

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
It is sorta covered in the JavaRanch Style Guide.
subject: WSAD Generated JSP Web Service Client Problem
It's not a secret anymore!