Hello,
I have created a JAX-WS client within eclipse that will communicate with a web service that was written in VB.net. I have gotten this to work successfully.
One of my web service methods will return an obect of type KitchenItems[]
The KitchenItems has a bunch of get/set methods for various kitchen properties. However, I cannot access those methods when using KitchenItems[]
Do the brackets convert the object into an array? How can I gain access to the get methods in KitchenItems? I had a test class automatically generated which did the following in order to extract the results:
KitchenItem[] kitchenItem= soap.getKitchenItemsByLoginId(kitchenId);
List list = Arrays.asList(kitchenItem.);
String result = list.toString();
Ideally, I would like to work with the object, and not convert to a string. The above won't let me convert the array to as a list anyway, as it throws the error:
Type mismatch: cannot convert from List<KitchenItem> to List
Any suggestions? Thanks!