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
    Feb 17 '14 at 3:27
  • Did that solve it for you then? Feb 18 '14 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 '14 at 7:07
  • Make sure you add that as an answer and then check it answered so we know. Feb 19 '14 at 10:48
  • Be sure to add an answer to this question. Thanks! Mar 9 '14 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.