Hi,
I experienced a strange behavior when returning a null array from back-end
service.
Suppose the back-end service returns following class.
public class Wrapper {
private Person[] persons;
public Person[] getPersons() {
return persons;
}
}
If the "persons" array is null, the Axis2 Client Stub returns an array with
length 1 and the first element will be null.
If the "persons" array is an empty array, i.e. length 0, the Axis2 Client
Stub returns null.
Has anyone experienced this behavior in Axis2 Client Stubs?
--
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware
Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev