AgileFileAttachmentRequestType cannot be resolved to a type

I am trying to create a program in Java to fetch attachments from Agile but I’m encountering the problem “AgileFileAttachmentRequestType cannot be resolved to a type”. I imported AgileAPI.jar and pxapi.jar but they don’t seem to include this. I got this code straight from the website, any help is appreciated. Thanks!


public class FetchFromAgile {




    AgileFileAttachmentRequestType attachments[] = new AgileFileAttachmentRequestType[1];

    attachments[0] = new AgileFileAttachmentRequestType();






Add Comment
2 Answer(s)


  This is available with the Agile Web services and not part of SDK. So, you won’t find in the jar

  You need to generate the client stubs using the WSDL to get it. Once you do it, you will see it in this package;

Agile Professional Answered on October 5, 2018.
Add Comment
Agile Talent Answered on March 27, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.