-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
API ManagementService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.
Description
Import-AzureRmApiManagementApi
-Context <PsApiManagementContext>
[-ApiId <String>]
[-ApiRevision <String>]
-SpecificationFormat <PsApiManagementApiFormat>
-SpecificationPath <String>
[-Path <String>]
[-WsdlServiceName <String>]
[-WsdlEndpointName <String>]
[-ApiType <PsApiManagementApiType>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
I am trying to import an SOAP API with Import-AzureRmApiManagementApi, It seems that there's no place to set the name(displayName) of the SOAP API, as a result, the name(displayName) is actually the value of WsdlServiceName
$newAPI = Import-AzureRmApiManagementApi -Context $apimContext -SpecificationFormat Wsdl -SpecificationPath $apiFilePath -Path $api.properties.path -ApiId $api.ApiId -ApiType Soap -WsdlServiceName $api.properties.wsdlServiceName -WsdlEndpointName $api.properties.wsdlEndpointName
Then I try to modify it with Set-AzureRmApiManagementApi, this API have transformed to an Non-SOAP api.
Set-AzureRmApiManagementApi -Context $apimContext -ApiId $newAPI.ApiId -ServiceUrl $newAPI.ServiceUrl -Protocols $newAPI.Protocols -Name $api.properties.displayName
Metadata
Metadata
Assignees
Labels
API ManagementService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.