Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retaining order in body

 
Jane Cecilia
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using axis 1.4, and I have the JavaBean in which the propOrder is given as {"filter","includeLists","fields","pageNumber"}, I tested with JAXB, and the xml output after setting the parameters preserves the order, but when invoking the stub, the handler output the xmlelements displayed shows aplhabetical order
that is....fields is the first tag in the soapBody, then filter, includeLists, and pageNumber, I do not know as to how to retain the order, since the webservice requires the order specified as in propOrder....kindly help....

Note: The JavaBean uses BeanSerializerFactory, and the beandeserializer

I am new to consuming webservice, and also coding a webservice...

Thanks,
Cecilia
 
Jane Cecilia
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

More observation the JavaBean itself stores the property values in alphabetical order, this is what is making the properties being retrieved from the JavaBean object in a similair fashion, and the soap request is formed. How to disable this....?

Regards,
Cecilia

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic