Hello,
we want to be able to add a type attribute as follows.
<soapenv:Envelope xmlns:soapenv= ...........................
<soapenv:Header/>
<soapenv:Body>
................
.............
<planNumberId type="TIN">34343434</planNumberId>
.........
.........
</soapenv:Body>
</soapenv:Envelope>
we already have class that is good as follows ( ONLY how we make new addition type="TIN" ?? . Easier way not to have additional class......). remember type is optional.
public class MyRecord {
@XmlElement(required= true)
private Integer planNumberId;
public void PlanNumberId(Integer planNumberId) {
this. planNumberId = planNumberId;
}
public Integer get PlanNumberId() {
return planNumberId;
}