Chuck_Micklavzi
17 years agoOccasional Contributor
Node order using DOMCategory
I am experiencing an issue trying to add nodes using DOMCategory. My Nodes are out of order.
Here is an example of the code:
When the object I am creating in specified in the xsd I use:
node.appendNode( new QName(myXsd, newNodeName), (newValue == null ? "" : newValue) );
If I am inserting a simple type:
node.appendNode( new QName( newNodeName), (newValue == null ? "" : newValue) );
Here is an example of the output:
2697444730
false
1
But what I really need is:
1
true
2697444730
If I submit the request out of order I get an error response back indicating the request is out of order (expecting allStatus but getting searchCriteria).
Any suggestions as to how I can get everything in the correct order?
Chuck
Here is an example of the code:
When the object I am creating in specified in the xsd I use:
node.appendNode( new QName(myXsd, newNodeName), (newValue == null ? "" : newValue) );
If I am inserting a simple type:
node.appendNode( new QName( newNodeName), (newValue == null ? "" : newValue) );
Here is an example of the output:
But what I really need is:
If I submit the request out of order I get an error response back indicating the request is out of order (expecting allStatus but getting searchCriteria).
Any suggestions as to how I can get everything in the correct order?
Chuck