axis2 array of object that contains a list -
i have return object using axis2 webservice. object contains list of other object. wsdl shows xs:anytype. when retreiving object client shows org.apache.axiom.om.impl.llom.omelementimpl
how use axis2 retreive object contains list
you cannot take complex object, return web service , expect client reconstruct object identical original. remember wsdl abstraction of web service implementation. also, clients may written in language different feature set.
the trick have web services return data types simple possible. elementary types simple java beans based on elementary types work well. in case, return array instead of list.
i have mentionned java because sounded using language. may not case, general rules have outlined still apply.
Comments
Post a Comment