I am attempting to query a magento (php ecommerce platform) web service for orders. However, the call returns a SalesOrderEntityArray, which seems to be loosely typed since calling the getAny() method on it returns a list of ElementNSImpl objects. I can view each of the nodes and see that it should be a SalesOrderEntity. What I am looking for is a JAXB way to (un?)marshall the objects from the node objects to the proper object type.