Search Results for

Show / Hide Table of Contents

# Telemetry

## Integration partner

Clients can provide the name of the integration partner which memoQ uses to identify integration partners and systems using the API for telemetry purposes. Telemetry is based on memoQ's policy, therefore it is anonymous and requires opt-in.

The integration partner must be set in the header of the SOAP messages as the value of an "IntegrationPartner" element:

    <s:Envelope
        xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
      <s:Header>
        <IntegrationPartner>
          name of the integration partner
        </IntegrationPartner>
      </s:Header>
      <s:Body>
        ...
      </s:Body>
    </s:Envelope>

In case of a client application using WCF, sending the integration partner in the header of the SOAP messages can be achieved purely with the right modifications in the WCF configuration file. For every endpoint that the client intends to call a section should be defined in the appropriate element, and in this element the integration partner should be specified in an element (if an endpoint entry was an empty XML element before, it should be replaced with an opening and closing element):

    ...
      <client>
         <endpointaddress="https://localhost:8081/memoqservices/security/SecurityService"
              binding="basicHttpBinding"bindingConfiguration="CommonBindingConfig"
              contract="SecurityService.ISecurityService"name="SecurityService" >
            <headers>
              <IntegrationPartner>name of the integration partner</IntegrationPartner>
            </headers>
         </endpoint>
    ...