Authentication

Use ARC credentials to authenticate with SOAP API.

C# generated client

CustomerInformationClient client = new CustomerInformationClient();

client.ClientCredentials.UserName.UserName = "username";
client.ClientCredentials.UserName.Password = "password";

GeneralResult result = client.Ping();

Soap call

Basic access authentication.

POST https://localhost:5518/CustomerInformation/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b/CustomerInformation/Ping"
Content-Length: 235
Host: localhost:5518
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:Ping/>
   </soapenv:Body>
</soapenv:Envelope>