[ 
https://issues.apache.org/jira/browse/AXIS-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Corrado Campisano updated AXIS-2837:
------------------------------------

    Attachment: solution.png

Looks like the issue get solved by setting the axis emitter preference when 
generating the proxy class:

Prefers building beans to straight arrays for wrapped XML array types: 
The default behavior is to map this XML construct: 
<element name="array">
 <complexType>
  <sequence>
   <element name="item" type="xs:string"/>
  </sequence>
 </complexType>
</element>to a Java String array (String[]). If you would rather a specific 
JavaBean class (ArrayOfString) be generated for these types of schemas, select 
this option. 


See attached snapshot

> Nested arrays not deserialized correctly
> ----------------------------------------
>
>                 Key: AXIS-2837
>                 URL: https://issues.apache.org/jira/browse/AXIS-2837
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: Java SDK 1.6.0 update 23
> Axis 1.4.0 build 20100580400
> OS: windows XP SP 3
> IDE: Eclipse IDE for JavaEE SR1 (helios)
>            Reporter: Corrado Campisano
>         Attachments: Axis error.pdf, solution.png
>
>
> org.apache.axis.encoding.ser.BeanPropertyTarget cannot handle exceptions 
> risen by pd.set(object, value); at line 75 (initial exception) and by 
> pd.set(object, value); at line 100 (failover attempt rising another 
> exception).
> object is a:
>       com.sabre.webservices.sabreXML._2003._07.
>               
> IMAP_AirSeatMapRSSeatMapResponsesSeatMapResponseSeatMapDetailsCabinConfiguration
> value is a:
> com.sabre.webservices.sabreXML._2003._07.
>               
> IMAP_AirSeatMapRSSeatMapResponsesSeatMapResponseSeatMapDetailsCabinConfigurationColumnInformationSeat
> Generated PROXY class :
> public class 
> IMAP_AirSeatMapRSSeatMapResponsesSeatMapResponseSeatMapDetailsCabinConfiguration
>   implements java.io.Serializable {
>     ...
>     private 
> com.sabre.webservices.sabreXML._2003._07.IMAP_AirSeatMapRSSeatMapResponsesSeatMapResponseSeatMapDetailsCabinConfigurationColumnInformationSeat[][]
>  columnInformation;

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to