Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.4
-
None
-
None
Description
We have a web service returning a LogSearchResult object. This contains a message and an array of LogEntry objects.
If the WSDL uses maxOccurs="unbounded" to define an array instead of an ArrayOf_ type, the class being deserialized must contain an indexed getter and setter for deserialization to work. Otherwise, with RPC/Encoded, it seems to just return the last element in the array, and with Document/Literal, it seems to return an array with the wrong length and entries that are non-null but have null properties.
We aren't using the models generated by the WSDL2Java tool, because we used the models to generate the WSDL. The default deserialization mechanism usually works for us.