PK02366: CANNOT GENERATE WEB SERVICE FROM JAVA BEAN WITH READ-ONLY ATTRIBUTES | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Using the generated bean that represents data type some "get" methods do not have corresponding "set" methods. These are read-only properties and thus do not have a setter. Because of that generated code cannot be deployed as WebService. According to WebServices Runtime team, for code to be deployed correctly as WebService all "get" methods must have corresponding "set" methods.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server users of web * * services * **************************************************************** * PROBLEM DESCRIPTION: Cannot generate web service from a java * * bean with read-only attributes * **************************************************************** * RECOMMENDATION: * **************************************************************** Using the generated bean that represents data type some "get" methods do not have corresponding "set" methods. These are read-only properties and thus do not have a setter. Because of that, generated code cannot be deployed as a WebService. According to WebServices Runtime team, for code to be deployed correctly as WebService all "get" methods must have corresponding "set" methods.Problem conclusion Don't serialize property if read/write. The fix for this APAR is currently targeted for inclusion in fixpack 5.0.2.10 and 5.1.1.4. Please refer to the Recommended Updates page for delivery dates: http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&u id=swg27004980Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 10W
Software edition:
Reference #: PK02366
IBM Group: Software Group
Modified date: Mar 15, 2005
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.