It doesn't work because your WSDL specifies an element called
<listReturn> but your response doesn't contain such an element.
I think you need Eric Chijoke's code modification (hereafter referred
to as "Eric Chijoke's famous Axis array patch" :-)
Bill
Eugene Shershnev wrote:
Hi All,
I've searched through the list trying to find why
.Net client does not see the array of beans returned by Axis-based
wrapped service.
The response that I have now looks fine to me,
but .Net still gets an empty array back.
Any tips will be greatly appreciated.
The WSDL is attached (didn't want to make the
message body huge) but the response is here:
The WSDL was originally auto-generated by Axis,
but was later slightly modified.
Also, here is my deploy.wsdd file:
<service name="ent" provider="java:RPC"
style="wrapped" use="literal">
<wsdlFile>ent-wrapped.wsdl</wsdlFile>
<parameter name="className"
value="ent.enterprise.EntAPI" />
<parameter name="allowedMethods" value="load write clear list
delete read create login logout"/>
<operation name="list"
qname="ns:list"
returnQName="ns:item"
returnType="ns:ArrayOf_EntDocument"
xmlns:ns="http://enterprise.ent">
<parameter name="sid" qname="ns:sid" type="xsd:string"
mode="IN" />
</operation>
</deployment>
Thanks for any help,
Eugene
|