Unofficial Content
  • This documentation is valid for:

location.xml file format

This file is used to determine the location in runtime or design time. This file should be included under the web application directory (Note: in Java model under the web-inf directory).

<GXLocations>
  <GXLocation name="org_tempuriaction__webService">
    <Common>
      <Host/>
      <Port/>
      <BaseUrl/>
      <Secure/>
      <Proxyserverhost/>
      <Proxyserverport/>
      <Timeout/>
    </Common>
    <HTTP>
      <Authentication>
        <Authenticationmethod/>
        <Authenticationuser/>
        <Authenticationpassword/>
        <Authenticationrealm/>
      </Authentication>
      <Proxyauthentication>
        <Proxyauthenticationmethod/>
        <Proxyauthenticationrealm/>
        <Proxyauthenticationuser/>
        <Proxyauthenticationpassword/>
      </Proxyauthentication>
    </HTTP>
  </GXLocation>
</GXLocations>

Where:

  • GX Location name, is given for Web Service Data type Name or in the latest versions the External Object Name
  • Host , is the host name without the Hypertext Transport Protocol (http://). i.e. <Host>www.server.com</Host>
  • BaseUrl, it is recommended to start and ends with a bar, i.e  <BaseUrl>/baseurlvalue/</BaseUrl>

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant