Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-956

Deserialization of complex bean containing an array of complex beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jbossws-1.0.1
    • jbossws-1.0.0
    • jbossws-native
    • None

      Calling a WS-method with two args, first of type AtringArray, second of type StringArrayArray.
      StringArray class contains a String[] with a no arg constructor and the get- and set-Method for the value.
      This data is serialized and deserialized correct.
      StringArrayArray has StringArray[] as its value.
      This gets serialized correct as far as I can see, but it get's deserialized StringArrayArray object containing only null objects.

      The code didn't change the last weeks and worked with JBoss-AS 4.0.4.CR2 using the Axis based WS implementation.

      I'll attach the two classes, the debug output from server.log, wsdl and mapping.

        1. FormsClientWS.wsdl
          4 kB
          Frank Langelage
        2. FormsClientWS-mapping.xml
          8 kB
          Frank Langelage
        3. StringArray.java
          1 kB
          Frank Langelage
        4. StringArrayArray_log.txt
          31 kB
          Frank Langelage
        5. StringArrayArray.java
          3 kB
          Frank Langelage

              tdiesler@redhat.com Thomas Diesler
              franklangelage Frank Langelage (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: