Hello,
I am trying to expose an interface that contains List, Set and Map.
Wsdl is generated with Axis2_Codegen_Wizard_1.3.0 eclipse plugin and the client
stub with something like
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"
classpathref="axis2.classpath">
<arg line="-uri ${wsdl.uri}"/>
<arg line="-s"/>
<arg line="-l java"/>
<arg line="-p ${namespace}"/>
<arg line="-d adb"/>
<arg line="-o ${build.dir}"/>
</java>
The issue is that for simple parameters like String, the stub creates
corresponding DTO's with similar set/get methods, so it is very easy to work it.
The issue is with java.util Set, Map and List for which I do not understand how
to work with. For java.util Set and Map some corresponding implementation as
inner classes are created and for List the generated stub expects
org.apache.axiom.om.OMElement.
Is anybody that can help me on this?
Thank you,
Boris.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ