Layer7 API Management

  • 1.  How to protect external url with apim?

    Posted Dec 28, 2018 02:29 PM

    Senhores boa tarde
    estou tentando publicar uma web api SOAP com a url: http://www.byjg.com.br/site/webservice.php/ws/cep mas quando tento avançar da o seguinte erro

     

       

     

    Does anyone know how to solve this problem?
    I am trying to use the service of it that is in the web I do not own the wsdl file in the physical machine.

    Thank you in advance.



  • 2.  Re: How to protect external url with apim?

    Broadcom Employee
    Posted Dec 28, 2018 04:14 PM

    tradução por google

     

    Oi Wallace

     

    Isso parece estar relacionado à rede. O DustinDauncey fez uma ótima descrição aqui para outro cliente. Você pode rever os passos que ele observou ao substituir o google.com pelos detalhes do seu domínio. Primeiro, você pode tentar encurralar esse URL a partir da CLI do Gateway.

     

    Não é possível obter resposta HTTP de http://www.google.com.br: host desconhecido: www.google.com.br

     

    Meu teste não conseguiu recuperar o WSDL usando http://www.byjg.com.br/site/webservice.php/ws/cep, no entanto, uma vez que eu apontei? WSDL funcionou como esperado, ou seja: http: //www.byjg. com.br/site/webservice.php/ws/cep?WSDL. Uma vez resolvidos os problemas de resolução, suspeito que o mesmo se aplique aqui.

     

    Saudações,

    Joe

     

    -----------------------------------------------------------------------------------------------------------

     

    Hi Wallace,

     

    This looks like it is network related. DustinDauncey did a great write up here for another client you may like to review the steps he noted replacing google.com with your domain details. First, you can try to curl to this URL from the Gateway CLI.

     

    Unable to obtain HTTP response from http://www.google.com: Unknown host:www.google.com 

     

    My test failed to retrieve the WSDL using  http://www.byjg.com.br/site/webservice.php/ws/cep however once I appended ?WSDL it worked as expected, ie:  http://www.byjg.com.br/site/webservice.php/ws/cep?WSDL. Once the resolution issues are taken care of I suspect the same will apply here.

     

    Regards,

    Joe