[ 
http://jira.codehaus.org/browse/XFIRE-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128545#action_128545
 ] 

Michael Mattox commented on XFIRE-1070:
---------------------------------------

We had to switch to JAXB because of this problem.
It also seems that XFire is no longer supported due to CXF, but last I checked 
CXF didn't work with xmlbeans. :(



> Unmarshalling problem with xmlbeans - list ends up null
> -------------------------------------------------------
>
>                 Key: XFIRE-1070
>                 URL: http://jira.codehaus.org/browse/XFIRE-1070
>             Project: XFire
>          Issue Type: Bug
>          Components: XMLBeans
>    Affects Versions: 1.2.6
>         Environment: xfire 1.2.6, xmlbeans 2.3.0, jdk 1.5
>            Reporter: Michael Mattox
>            Assignee: Dan Diephouse
>            Priority: Critical
>         Attachments: Test14.wsdl
>
>
> Using document literal wrapped.
> Our method takes a single object which has a list:
>      public String foo(A a) {
>       System.out.println("A.toString() = " + a);
>       System.out.println("a.getListB()" + a.getListB());
>         return "true";
>     }
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:tes="http://www.example.org/Test14/";>
>    <soapenv:Header/>
>    <soapenv:Body>
>       <tes:foo>
>          <a>
>             <listB>
>                <!--Zero or more repetitions:-->
>                <id>5</id>
>             </listB>
>          </a>
>       </tes:foo>
>    </soapenv:Body>
> </soapenv:Envelope>
> The .toString on the object shows the list exists:
> A.toString() = <a xmlns:tes="http://www.example.org/Test14/"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   <listB>
>     <id>5</id>
>   </listB>
> </a>
> But the system.out.println shows that the list is null:
> a.getListB()null
> I attached the WSDL which shows this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to