Web service response is MessageElement?



I am trying to figure out how to use this service, which should print out holidays in US: http://ift.tt/1Dw0cYp


So, I generated Java classes for it, and tried to call its method, which should return list of available countries:



holidayServiceLocator.getHolidayServiceSoap().getCountriesAvailable().get_any()


getAny() method returns org.apache.axis.message.MessageElement[] type of object, and this is where I am lost.


As I can understand, MessageElement is used in order to store XML, am I correct? In that case, how should I handle it in order to get correct result (list of supported countries for this service)?


No comments:

Post a Comment