Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Magento Web Service returning array of ElementNSImpl

 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It turns out I should have been using wsdl2java to generate my source. I guess jax-ws does not support the rpc encoded stuff.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic