I am creating a QueryDefintionObject that extends the ETObject in the Java FuelSDK. I have been able to successfully create the following fields:

@InternalSoapField(name = "name")
protected String name = null;
protected String customerKey = null;
protected Date createdDate = null;
protected Date modifiedDate = null;
protected ETClientID clientId = null;
protected String query = null; 

However, I can't seem to be able to create fields for TargetType or TargetUpdateType. I was running into issues with QueryText until I realized that the documentation is UpperCamelCase while the Java implementation is lowerCamelCase. However, I cannot seem to get the InternalSoapField name correct for these two.

  • I did not have a getter for the targetType, so the PropertyUtils was not able to find a value for the property.
    – mobo
    Feb 17, 2014 at 3:27
  • Did that solve it for you then? Feb 18, 2014 at 12:26
  • Yep. Had a issue later where I did not register Fuel objects and their corresponding generate (WSDL) objects with the object converter. I should really write a post about adding object to the Java Fuel SDK. So many are missing.
    – mobo
    Feb 19, 2014 at 7:07
  • Make sure you add that as an answer and then check it answered so we know. Feb 19, 2014 at 10:48
  • Be sure to add an answer to this question. Thanks! Mar 9, 2014 at 18:15


You must log in to answer this question.

Browse other questions tagged .