APAR status
Closed as program error.
Error description
The user has a WSDL which has embedded schema:
<wsdl:definitions
targetNamespace="http://emis.services.ws.railinc.com"
... xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...>
...
<xsd:simpleType name="InspectionDate">
<xsd:restriction base="xsd:dateTime" />
</xsd:simpleType>
...
<xsd:complexType name="EquipmentGrade">
<xsd:sequence>
<xsd:element name="equipmentID" type="equipment:EquipmentId"
/>
<xsd:element name="carGrade" type="equipment:CarGrade" />
<xsd:element name="inspectingRoad"
type="equipment:InspectingRoad" />
<xsd:element name="inpsectionDate"
type="equipment:InspectionDate" />
<xsd:element name="SPLC" type="equipment:SPLC" />
</xsd:sequence>
</xsd:complexType>
...
The generated serializer InspectionDate_Ser has the
serialization
method.
public void serialize(
javax.xml.namespace.QName name,
org.xml.sax.Attributes attributes,
java.lang.Object value,
com.ibm.ws.webservices.engine.encoding.SerializationContext
context)
throws java.io.IOException
{
java.lang.String stringValue = getValueAsString(value,
null);
context.simpleElement(name,
addAttributes(attributes,value,context),
stringValue);
}
It seems that the serialization is incorrect, and causes parsing
error
at server end.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: Any users trying to create a complex type as *
* a restriction on a simple type *
****************************************************************
* PROBLEM DESCRIPTION: toString() method of simple type beans *
* was not returning expected values. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
When a user creates a bean from a schema restriction on a
simple type, the bean has a toString() method and a
BeanName(String) constructor that are used for serialization
and deserialization. The format of the string expected in the
constructor did not match what was being passed by the toString
method.
Problem conclusion
Modified the toString() method to return the format that
is expected by the one argument String constructor.
Temporary fix Comments
APAR information |
APAR number |
PQ89773 |
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 |
2004-06-07 |
Closed date |
2004-07-07 |
Last modified date |
2004-07-07 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
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 |
|