Layer7 API Management

  • 1.  Is it possible to remove "www.layer7tech.com" in xml namespace without assertion ?

    Posted Apr 12, 2017 01:23 AM

    Hi all,

     

    For compliance issue we need to remove any information which allow anyone to identify products of our infrastructure. In ordre to comply we would like to remove any reference to www.layer7tech.com in xml namespace of our SOAP published services. Is it possible to do so only by configuration which makes it globally or do we need to use another assertion to sanitise the output ?

     

    Thank you for your help,

     

    Best regards,

    Greg



  • 2.  Re: Is it possible to remove "www.layer7tech.com" in xml namespace without assertion ?

    Posted Apr 12, 2017 06:21 AM

    Hello Greg

     

    Can you clarify which XML doc you see the name space in, is this the WSDL?

     

    Can you provide an example?

     

    Regards

    Christopher Clark
    CA Support



  • 3.  Re: Is it possible to remove "www.layer7tech.com" in xml namespace without assertion ?

    Posted Apr 13, 2017 03:58 AM

    Hi Christopher,

     

    Here it is an example of a service response of where I would like to remove the Layer7 references:

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
       <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Server</faultcode>
             <faultstring>Policy Falsified</faultstring>
             <faultactor>https://haaxgwwa.vdad1.bcv.ch:8443/YV0-v2/ws-ausd</faultactor>
             <detail>
                <l7:policyResult status="Service Not Found.  The request may have been sent to an invalid URL, or intended for an unsupported operation." xmlns:l7="http://www.layer7tech.com/ws/policy/fault"/>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>



  • 4.  Re: Is it possible to remove "www.layer7tech.com" in xml namespace without assertion ?
    Best Answer

    Posted Apr 18, 2017 10:25 AM

    Hello

     

    Can you use the CLW soapfault.template to override this message:-

     

    https://docops.ca.com/ca-api-gateway/9-2/en/reference/gateway-cluster-properties/fault-level-cluster-properties

     

    Would this work for you?