Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Instantiated Soap object if continueRequest!=null #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/main/java/com/exacttarget/fuelsdk/ETSoapObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,14 @@ protected static <T extends ETSoapObject> ETResponse<T> retrieve(ETClient client

RetrieveRequestMsg retrieveRequestMsg = new RetrieveRequestMsg();
retrieveRequestMsg.setRetrieveRequest(retrieveRequest);


if (soapObjectName != null) {
retrieveRequest.setObjectType(soapObjectName);
soap = connection.getSoap("retrieve", soapObjectName);
} else {
retrieveRequest.setObjectType(internalType.getSimpleName());
soap = connection.getSoap("retrieve", internalType.getSimpleName());
}
RetrieveResponseMsg retrieveResponseMsg = soap.retrieve(retrieveRequestMsg);

if (logger.isTraceEnabled()) {
Expand Down