Hi,
 
I think you have two options:
 
1: Have two diferent bindings, one for marshal and another to unmarshall, with include tag you save a lot of code.
 
2: turn the location element optional, and if you don“t want the location element to be in your marshall xml, remove the content of the attribute of your object.
 
cheers
 

Reply via email to