1

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;
@InternalSoapField(name="customerKey")
protected String customerKey = null;
@InternalSoapField(name="createdDate")
protected Date createdDate = null;
@InternalSoapField(name="modifiedDate")
protected Date modifiedDate = null;
@InternalSoapField(name="client")
protected ETClientID clientId = null;
@InternalSoapField(name="queryText")
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.

5
  • I did not have a getter for the targetType, so the PropertyUtils was not able to find a value for the property.
    – mobo
    Commented Feb 17, 2014 at 3:27
  • Did that solve it for you then? Commented 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
    Commented Feb 19, 2014 at 7:07
  • Make sure you add that as an answer and then check it answered so we know. Commented Feb 19, 2014 at 10:48
  • Be sure to add an answer to this question. Thanks! Commented Mar 9, 2014 at 18:15

0

You must log in to answer this question.

Browse other questions tagged .