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

Rudy Moury commented on XFIRE-1070:
-----------------------------------

I've got the same issue. I'm developping a Java client from the wsdl contract 
of a PHP NuSoap doc/lit webservice with Axis2 1.3 and the xmlbeans databinding.
I success to generate my Java client with Axis2 1.3 with this databinding. The 
request since my java client works great but the response fails due to this 
bug. My Javaclient receives the good response, here is an example of what i 
catch in the netbeans console with the debug mode on :

aird.getAuthInfoResponse() returns
<xml-fragment xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:sym="http://sympaserver/sympaserver_WS_doc_lit_LE";>
  <sym:return>
    <sym:listAddress>[EMAIL PROTECTED]</sym:listAddress>
    <sym:homepage>http://sympaserver/cgi-bin/sympa/wwsympa.fcgi/info/[EMAIL 
PROTECTED]</sym:homepage>
    <sym:isOwner>true</sym:isOwner>
    <sym:isEditor>true</sym:isEditor>
    <sym:subject>Test</sym:subject>
  </sym:return>
</xml-fragment>

Exactly what i want but aird.getAuthInfoResponse().getReturn() returns null.
And it's exactly the same problem for all the responses of the methods of my 
webservice. The response are good and my java client returns me the good value 
with getXXXResponse() but i can't use the getXXXResponse().getReturn() because 
of this bug.

I think what Michael might have been well targeted this bug.

> 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