I don't want the Optional elements in XML message to be automatically added by ReadyAPI
I am using ReadyAPI 3.1.0
There was a big difference between my XML message yesterday and the message today.
It looks as if ReadyAPI has automatically added all kind of optional elements in the message without me knowing about it.
This is very disturbing!
Example of message as defined yesterday:
Example of the same message as it looks today:
Just reiterating what Rao and msiadak mentioned.
There is a switch to add in all optional tags from a schema. If your schema is embedded within your .wsdl (and it sounds like thats the way its been setup) and this switch has been set then I'm almost 100% positive this will be the cause (unless a regression has been added to v3.2!) as the content added is too non random to be anything else.
you could always double check by extracting the .xsd from the .wsdl, launch in something like XMLSpy and use XMLSpy to generate an example xml instance based on the .xsd content (XMLSpy also includes switches to build instance content with and without optional tags/attributes