PK08257: WSWS3368E IS LOGGED WHEN A WEBSERVICES CLIENT TRIES TO DESERIALIZE AN EMPTY ARRAY DUE TO A SAXPARSEREXCEPTION

 Fixes are available

5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for AIX
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for HP-UX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Linux
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for HP-UX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Solaris
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Windows
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Solaris
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Solaris
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Windows
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Solaris
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Windows
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for AIX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Linux
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for AIX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Windows
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Windows
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Solaris
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Solaris
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Windows
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Solaris
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for AIX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for AIX
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Linux
5.1.1.7: WebSphere Application Server Version 5.1.1 Cumulative Fix 7
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for HP-UX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for AIX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for HP-UX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for AIX
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for AIX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Linux
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for HP-UX
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Linux
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for HP-UX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Solaris
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for AIX
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Windows
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Solaris
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Solaris
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Linux
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for HP-UX
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for AIX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Solaris
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Windows
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for AIX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Linux
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for HP-UX
5.1.1.12: WebSphere Application Server V5.1.1 Cumulative Fix 12 for Solaris
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for AIX
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Windows
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for HP-UX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Solaris
5.1.1.13: WebSphere Application Server V5.1.1 Cumulative Fix 13 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for AIX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Windows
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Windows
5.0.2.18: WebSphere Application Server 5.0.2 Cumulative Fix 18 for Linux
5.1.1.11: WebSphere Application Server V5.1.1 Cumulative Fix 11 for HP-UX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for HP-UX
5.1.1.8: WebSphere Application Server 5.1.1 Cumulative Fix 8 for Linux
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for HP-UX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Linux
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Solaris
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for AIX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Linux
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Linux
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for HP-UX



APAR status
Closed as program error.

Error description
EXTERNAL SYMPTOMS:
WebServices message fails to be processed correctly by a
web services client.

MESSAGES LOGGED:
  The following messages are logged in SystemOut and in the
trace if WebServices=all=enabled is traced.
WSWS3227E:

WSWS3368E: Error: The deserialization event characters for (
) was unexpected in
       The message number and where it is logged.

RECREATION STEPS:
     A webservice message with the following tags is sent to the
webservices client.

<directoryCategories
xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:Array" ns2:arrayType="ns1:DirectoryCategory&#65517;0&#65529;">
</directoryCategories>
...
<directoryCategory xsi:type="ns1:DirectoryCategory">
<fullViewableName xsi:type="xsd:string"></fullViewableName>
<specialEncoding xsi:type="xsd:string"></specialEncoding>
</directoryCategory>

The same webservice message works fine on WebSphere AppServer
6.0

This is what the messages look like in the trace file.
&#65517;6/28/05 11:00:29:523 EDT&#65529; 6b1d3500 Connection    E
com.ibm.ws.webservices.engine.client.Connection  WSWS3227E:
Error: Exception:
&#65517;6/28/05 11:00:29:573 EDT&#65529; 6b1d3500 Connection    E
com.ibm.ws.webservices.engine.client.Connection  TRAS0014I: The
following exception was logged org.xml.sax.SAXException:
WSWS3368E: Error: The deserialization event characters for (
) was unexpected in
com.ibm.ws.webservices.engine.encoding.ser.ArrayDeserializer.
 at
com.ibm.ws.webservices.engine.encoding.ser.ArrayDeserializer.cha
racters(ArrayDeserializer.java:534)
 at
com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConve
rter.java:806)
 at
com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2D
Converter.java:395)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toEvents(SOAPE
lement.java:1450)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toContainedEve
nts(SOAPElement.java:1473)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toEvents(SOAPE
lement.java:1448)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toContainedEve
nts(SOAPElement.java:1473)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toEvents(SOAPE
lement.java:1448)
 at
com.ibm.ws.webservices.engine.xmlsoap.ext.RequestResponse.deseri
alize(RequestResponse.java:334)
 at
com.ibm.ws.webservices.engine.xmlsoap.ext.RequestResponse.getPar
ams(RequestResponse.java:432)

SEARCH KEYWORDS:
   wsdl array webservices client empty array 0-element
zero-element deserialize deser serialize
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of web    *
*                 services                                     *
****************************************************************
* PROBLEM DESCRIPTION: WSWS3368E is logged when a webservices  *
*                      client tries to deserialize an empty    *
*                      array due to a SAXPARSEREXCEPTION       *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
WebServices message fails to be processed correctly by a
web services client.

MESSAGES LOGGED:
  The following messages are logged in SystemOut and in the
trace if WebServices=all=enabled is traced.
WSWS3227E:

WSWS3368E: Error: The deserialization event characters for (
) was unexpected in
       The message number and where it is logged.

RECREATION STEPS:
     A webservice message with the following tags is sent to the
webservices client.

<directoryCategories
xmlns:ns2="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns2:Array" ns2:arrayType="ns1:DirectoryCategory 0 ">
</directoryCategories>
...
<directoryCategory xsi:type="ns1:DirectoryCategory">
<fullViewableName xsi:type="xsd:string"></fullViewableName>
<specialEncoding xsi:type="xsd:string"></specialEncoding>
</directoryCategory>

The same webservice message works fine on WebSphere AppServer
6.0

This is what the messages look like in the trace file.
 6/28/05 11:00:29:523 EDT  6b1d3500 Connection    E
com.ibm.ws.webservices.engine.client.Connection  WSWS3227E:
Error: Exception:
 6/28/05 11:00:29:573 EDT  6b1d3500 Connection    E
com.ibm.ws.webservices.engine.client.Connection  TRAS0014I: The
following exception was logged org.xml.sax.SAXException:
WSWS3368E: Error: The deserialization event characters for (
) was unexpected in
com.ibm.ws.webservices.engine.encoding.ser.ArrayDeserializer.
 at
com.ibm.ws.webservices.engine.encoding.ser.ArrayDeserializer.cha
racters(ArrayDeserializer.java:534)
 at
com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConve
rter.java:806)
 at
com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2D
Converter.java:395)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toEvents(SOAPE
lement.java:1450)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toContainedEve
nts(SOAPElement.java:1473)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toEvents(SOAPE
lement.java:1448)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toContainedEve
nts(SOAPElement.java:1473)
 at
com.ibm.ws.webservices.engine.xmlsoap.SOAPElement.toEvents(SOAPE
lement.java:1448)
 at
com.ibm.ws.webservices.engine.xmlsoap.ext.RequestResponse.deseri
alize(RequestResponse.java:334)
 at
com.ibm.ws.webservices.engine.xmlsoap.ext.RequestResponse.getPar
ams(RequestResponse.java:432)
Problem conclusion
Handle whitespace without deserialization failures.

The fix for this APAR is currently targeted for inclusion
in fixpack 5.0.2.14 and 5.1.1.7.
Please refer to the recommended updates page for delivery
information:

http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix Comments
APAR information
APAR number PK08257
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 10W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-06-30
Closed date 2005-08-23
Last modified date 2005-08-23

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
WEBSRVCE          

Publications Referenced

Fix information
Fixed component name WAS BASE 5.0
Fixed component ID 5630A3600

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00P PSY    UP
R00S PSY    UP
R00W PSY    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10W
Software edition:
Reference #: PK08257
IBM Group: Software Group
Modified date: Aug 23, 2005