Ir para o conteúdo

Configuração WSH Porta

Configuração de porta Web Service Host do Insight

Para o cadastro de porta do Web Service Host no Insight, deve-se acessar o programa do Console inResponse, clicar na opção Web Services acessar a aba Configuração de implantação e ajustar a tag BaseAddress conforme imagem abaixo:

Exemplo de configuração:

<DeploymentConfig xmlns="http://schema.2020.net/inResponse/WebService/Hosting/DeploymentConfig" Version="4.1">
    <HostingConfig DefaultHostedServiceFailureAction="RestartHostedService">
        <WcfServiceSettings>
            <MetaDataBehavior HttpGetEnabled="AsConfigured" HttpsGetEnabled="AsConfigured"/>
            <DebugBehavior IncludeExceptionDetailsInFaults="AsConfigured" HttpHelpPageEnabled="AsConfigured" HttpsHelpPageEnabled="AsConfigured"/>
        </WcfServiceSettings>
        <!--Known configurator type names:-->
        <!--inResponse.WebService.Core.Configuration.IRWebApiConfigurator, inResponse.WebService.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=96f80a0baf146baa-->
        <!--inResponse.WebService.Support.Configuration.AutoRegistrationWebApiConfigurator, inResponse.WebService.Support, Version=13.0.0.0, Culture=neutral, PublicKeyToken=96f80a0baf146baa-->
        <!--inResponse.WebService.Support.Configuration.WebApiConfigurator, inResponse.WebService.Support, Version=13.0.0.0, Culture=neutral, PublicKeyToken=96f80a0baf146baa-->
        <WebApiServiceSettings TracingEnabled="AsConfigured" IncludeErrorDetailPolicy="AsConfigured" ApiBrowserEnabled="True" DefaultConfiguratorTypeName="inResponse.WebService.Core.Configuration.IRWebApiConfigurator, inResponse.WebService.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=96f80a0baf146baa">
            <!--Edit the base addresses as needed.-->
            <DefaultBaseAddresses>
                <BaseAddress Value="http://+:9030/"/>
            </DefaultBaseAddresses>
        </WebApiServiceSettings>
    </HostingConfig>
    <HostProperties>                      
        <Property Name="Server" Value="insight\insight"/>
        <Property Name="Database" Value="Insight_ORIG"/>
    </HostProperties>
</DeploymentConfig>