Fixes are available
APAR status
Closed as program error.
Error description
JAX-RPC wizard - add namespace mapping - blank space after the package name should be ignored when creating the _mapping.xml file If namespace mappings entered either in a properties file or in the JAX-RPC wizard contain spaces before and after each of the namespace URLs and package names, not all of the spaces are stripped out. If the spaces were in a properties file, for example, line start> http\://addressbook.com/AddressBook/ = custom.javapackage.addressbook <end of line the space after the package name is not stripped out, which leads to error message cvc-complex-type.2.2: Element 'java-type' must have no element [children], and the value must be valid. If the blanks spaces are entered in the wizard, none of the blanks are stripped out which leads to error message cvc-complex-type.2.2: Element 'namespaceURI' must have no element [children], and the value must be valid.
Local fix
Take care to remove any blanks when entering namespace mappings in the wizard or in a properties file.
Problem summary
**************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * Toolkit v6.1.1 and Rational Application * * Developer v7.0 * **************************************************************** * PROBLEM DESCRIPTION: When a namespace to package entry is * * created where either value has a * * trailing space then XML validation * * fails on the resulting JAX-RPC * * mapping file. * **************************************************************** * RECOMMENDATION: * **************************************************************** If a namespace to package entry is defined like the following: namespace = "http://addressbook.com/AddressBook/" package = "custom.javapackage.addressbook " (notice the extra space at the end of the package) then the XML validation on the JAX-RPC Mapping file will fail as well as the underlying WSDL2Java tooling that will generate the Java artifacts.
Problem conclusion
The namespace and package values entered on the webservice creation wizard will have all whitespaces trimmed. The fix for this APAR is currently targeted for inclusion in the WebSphere Application Server Toolkit fixpack 6.1.1.8 and Rational Application Developer fixpack 7.0.0.8. Please refer to the following Recommended Updates page for WebSphere Application Server Toolkit delivery information: http://www.ibm.com/support/docview.wss?uid=swg27004980 and the following Recommended Updates page for Rational Application Developer delivery information: http://www.ibm.com/support/docview.wss?uid=swg27007823
Temporary fix
Comments
APAR Information
APAR number
PK71798
Reported component name
WEBAPP SERVER A
Reported component ID
5724J0820
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-09-09
Closed date
2008-09-16
Last modified date
2008-09-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBAPP SERVER A
Fixed component ID
5724J0820
Applicable component levels
R610 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
23 October 2021