
314 WebSphere and .Net Interoperability Using Web Services
Example 13-1 Proper coding for ArrayOfCustomer type instantiation
Customer[] customerArray = createCustomers();
ArrayOfCustomer mCustomer = new ArrayOfCustomer();
mCustomer.setMessageType(customerArray);
service.getCustomers(mCustomer);
Return array with null value or empty array
When a WebSphere client receives an array with null values or an empty array
from Microsoft .Net Web service, it will find a default message exists instead of a
null value.
13.3 WebSphere Web service
The following hints concern the behavior of WebSphere and WebSphere Studio
Application Developer, and do not specifically ...