Program: 63382
Project: 63382
Buggy source:
protected XMLDescriptor buildServiceDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(DBWSModel.class);
  descriptor.setDefaultRootElement("String_Node_Str");
  XMLDirectMapping name=new XMLDirectMapping();
  name.setAttributeName("String_Node_Str");
  name.setXPath("String_Node_Str");
  descriptor.addMapping(name);
  XMLDirectMapping sessionFile=new XMLDirectMapping();
  sessionFile.setAttributeName("String_Node_Str");
  sessionFile.setXPath("String_Node_Str");
  descriptor.addMapping(sessionFile);
  XMLChoiceCollectionMapping operationsMapping=new XMLChoiceCollectionMapping();
  operationsMapping.setAttributeName("String_Node_Str");
  operationsMapping.setAttributeAccessor(new AttributeAccessor(){
    public Object getAttributeValueFromObject(    Object object){
      return ((XRServiceModel)object).getOperationsList();
    }
    public void setAttributeValueInObject(    Object object,    Object value){
      Vector v=(Vector)value;
      XRServiceModel dbwsModel=(XRServiceModel)object;
      Map<String,Operation> operations=dbwsModel.getOperations();
      for (Iterator i=v.iterator(); i.hasNext(); ) {
        Object obj=i.next();
        if (obj instanceof Operation) {
          Operation op=(Operation)obj;
          operations.put(op.getName(),op);
        }
      }
    }
  }
);
  operationsMapping.addChoiceElement("String_Node_Str",InsertOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",QueryOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",UpdateOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",DeleteOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",BatchQueryOperation.class);
  descriptor.addMapping(operationsMapping);
  return descriptor;
}

Fixed version (ground truth):
protected XMLDescriptor buildServiceDescriptor(){
  XMLDescriptor descriptor=new XMLDescriptor();
  descriptor.setJavaClass(DBWSModel.class);
  descriptor.setDefaultRootElement("String_Node_Str");
  XMLDirectMapping name=new XMLDirectMapping();
  name.setAttributeName("String_Node_Str");
  name.setXPath("String_Node_Str");
  descriptor.addMapping(name);
  XMLDirectMapping sessionFile=new XMLDirectMapping();
  sessionFile.setAttributeName("String_Node_Str");
  sessionFile.setXPath("String_Node_Str");
  descriptor.addMapping(sessionFile);
  XMLChoiceCollectionMapping operationsMapping=new XMLChoiceCollectionMapping();
  operationsMapping.setAttributeName("String_Node_Str");
  operationsMapping.setAttributeAccessor(new AttributeAccessor(){
    @Override public Object getAttributeValueFromObject(    Object object){
      return ((XRServiceModel)object).getOperationsList();
    }
    @Override public void setAttributeValueInObject(    Object object,    Object value){
      Vector v=(Vector)value;
      XRServiceModel dbwsModel=(XRServiceModel)object;
      Map<String,Operation> operations=dbwsModel.getOperations();
      for (Iterator i=v.iterator(); i.hasNext(); ) {
        Object obj=i.next();
        if (obj instanceof Operation) {
          Operation op=(Operation)obj;
          operations.put(op.getName(),op);
        }
      }
    }
  }
);
  operationsMapping.addChoiceElement("String_Node_Str",InsertOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",QueryOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",UpdateOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",DeleteOperation.class);
  operationsMapping.addChoiceElement("String_Node_Str",BatchQueryOperation.class);
  descriptor.addMapping(operationsMapping);
  return descriptor;
}