Skip to content

Commit

Permalink
Fix wsdl viewing issue for imported SOAP apis
Browse files Browse the repository at this point in the history
  • Loading branch information
rmsamitha committed Oct 30, 2023
1 parent bbbaac7 commit 82d5a68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ public static API importApi(String extractedFolderPath, APIDTO importedApiDTO, B
// implementation
ApiTypeWrapper apiTypeWrapperWithUpdatedApi = new ApiTypeWrapper(importedApi);
addDocumentation(extractedFolderPath, apiTypeWrapperWithUpdatedApi, apiProvider, organization);
addAPIWsdl(extractedFolderPath, importedApi, apiProvider);
if (StringUtils
.equals(importedApi.getType().toLowerCase(), APIConstants.API_TYPE_SOAPTOREST.toLowerCase())) {
addSOAPToREST(importedApi, validationResponse.getContent(), apiProvider);
Expand All @@ -371,6 +370,7 @@ public static API importApi(String extractedFolderPath, APIDTO importedApiDTO, B
// lifecycle transition state, it will override the thumbnail RXT field as it is null in the api object
// and without it, thumbnail is not be visible in publisher portal.
addThumbnailImage(extractedFolderPath, apiTypeWrapperWithUpdatedApi, apiProvider);
addAPIWsdl(extractedFolderPath, importedApi, apiProvider);
String tenantDomain = RestApiCommonUtil.getLoggedInUserTenantDomain();
if (deploymentInfoArray == null && !isAdvertiseOnlyAPI(importedApiDTO)) {
//If the params have not overwritten the deployment environments, yaml file will be read
Expand Down

0 comments on commit 82d5a68

Please sign in to comment.