We are getting the BAM Error: "BAM-06008: The XML payload is invalid; extra contents were found" after I added a another field to a BAM Object.I have added that extra field to corresponding data objects .wsdl file as well as in the .xsd. I can see the new field in the BAM DO. However, when I used to send a payload with the newly added field it fails with the above error. However, if I add a new data object in BAM with the field it works fine.
Why am I getting this error?
I have followed the following steps:-
1.Make entry of new field in ".wsdl" file which is in the BAM folder.
2.Make entry of new filed in ".xsd" file.
3.Make appropriate mappings in ".xsl" file corresponding to the sensor's action.
Initially i was only restarting BAM and was facing above mentioned error. After restarting SOA as well as BAM server, it started working.