I am working on a proxy to convert Soap Service to Rest API that would allow JSON payload. It's using JSON to XML polity to convert JSON payload to XML. It works fine if incoming JSON elements are in sequence specified in wsdl but if JSON elements are not in order, call to soap service fails since it expects XML elements in specific order according to WSDL.
How can i reorder XML generated from JSON to XML policy according to the schema?
Appriciate any help.
Thanks.