aspose file tools*
The moose likes Web Services and the fly likes Magento Web Service returning array of ElementNSImpl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Magento Web Service returning array of ElementNSImpl" Watch "Magento Web Service returning array of ElementNSImpl" New topic
Author

Magento Web Service returning array of ElementNSImpl

Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
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.


http://www.goodercode.com
SCJP 1.4
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
It turns out I should have been using wsdl2java to generate my source. I guess jax-ws does not support the rpc encoded stuff.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Magento Web Service returning array of ElementNSImpl