OrganisationServiceBasicHttpEndpoint / GetDetails
ASP AutoIt C C (Unicode) C++ C++ (Unicode) C# DataFlex Delphi Foxpro Go Java Node.js Objective-C Perl PHP Extension PowerBuilder Powershell PureBasic Python CkPython Ruby SQL Server Swift TCL VB.NET VB6 VBScript Xojo
#include <C_CkXmlW.h>
#include <C_CkHttpW.h>
#include <C_CkHttpResponseW.h>
void ChilkatSample(void)
{
HCkXmlW xml;
const wchar_t *soapRequestBody;
const wchar_t *endpoint;
const wchar_t *soapAction;
const wchar_t *contentType;
HCkHttpW http;
HCkHttpResponseW resp;
HCkXmlW responseXml;
int statusCode;
const wchar_t *ActionOnEntity;
const wchar_t *EndDate;
const wchar_t *StartDate;
const wchar_t *Code;
const wchar_t *v_Email;
const wchar_t *Fax;
const wchar_t *FirstName;
const wchar_t *GroupName;
const wchar_t *JobTitle;
const wchar_t *LastName;
const wchar_t *Mobile;
const wchar_t *OrganisationName;
const wchar_t *Phone;
const wchar_t *CountryCode;
const wchar_t *Latitude;
const wchar_t *Line1;
const wchar_t *Line2;
const wchar_t *Longitude;
const wchar_t *Postcode;
const wchar_t *StateCode;
const wchar_t *StateOverseas;
const wchar_t *Suburb;
const wchar_t *RoleCode;
const wchar_t *Title;
const wchar_t *TypeCode;
const wchar_t *DateTime;
int OffsetMinutes;
const wchar_t *IsLegacyData;
const wchar_t *OrganisationLocationId;
const wchar_t *OrganisationPostalAddressId;
const wchar_t *OrganisationPrincipalAddressId;
const wchar_t *v_string;
const wchar_t *Acn;
const wchar_t *Name;
const wchar_t *Abbreviation;
int iCode;
const wchar_t *Description;
const wchar_t *Link;
xml = CkXmlW_Create();
CkXmlW_putTag(xml,L"soapenv:Envelope");
CkXmlW_AddAttribute(xml,L"xmlns:soapenv",L"http://schemas.xmlsoap.org/soap/envelope/");
CkXmlW_AddAttribute(xml,L"xmlns:tra",L"http://training.gov.au/services/12/");
CkXmlW_UpdateChildContent(xml,L"soapenv:Header",L"");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:Code",L"string");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:IncludeLegacyData",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowCodes",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowContacts",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowDataManagers",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowExplicitScope",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowImplicitScope",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowLocations",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowOrganisatoinRoles",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPostalAddresses",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPrincipalAddresses",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationManagers",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationPeriods",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegulatoryDecisions",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowResponsibleLegalPersons",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRestrictions",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoClassifications",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoCricosCodes",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryLocation",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryNotification",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoHigherEducation",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoSchoolProvider",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowTradingNames",L"true");
CkXmlW_UpdateChildContent(xml,L"soapenv:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowUrls",L"true");
// In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
CkXmlW_putEmitXmlDecl(xml,FALSE);
soapRequestBody = CkXmlW_getXml(xml);
endpoint = L"https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation";
soapAction = L"http://training.gov.au/services/12/IOrganisationService/GetDetails";
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
contentType = L"text/xml";
http = CkHttpW_Create();
CkHttpW_ClearHeaders(http);
CkHttpW_SetRequestHeader(http,L"Content-Type",contentType);
CkHttpW_SetRequestHeader(http,L"SOAPAction",soapAction);
resp = CkHttpW_PostXml(http,endpoint,soapRequestBody,L"utf-8");
if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
wprintf(L"%s\n",CkHttpW_lastErrorText(http));
wprintf(L"Failed to send SOAP request.\n");
CkXmlW_Dispose(xml);
CkHttpW_Dispose(http);
return;
}
// Get the XML response body.
responseXml = CkXmlW_Create();
CkHttpResponseW_GetBodyXml(resp,responseXml);
statusCode = CkHttpResponseW_getStatusCode(resp);
wprintf(L"response status code: %d\n",statusCode);
CkHttpResponseW_Dispose(resp);
// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if (statusCode != 200) {
wprintf(L"%s\n",CkXmlW_getXml(responseXml));
CkXmlW_Dispose(xml);
CkHttpW_Dispose(http);
CkXmlW_Dispose(responseXml);
return;
}
wprintf(L"%s\n",CkXmlW_getXml(responseXml));
// Parse the successful SOAP response XML.
// This is a sample of the response XML, but the namespace prefixes will be different.
// We can parse the result using "*" for the namespace prefixes (see below).
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:StartDate");
Code = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:Code");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:StartDate");
v_Email = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Email");
Fax = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Fax");
FirstName = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:FirstName");
GroupName = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:GroupName");
JobTitle = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:JobTitle");
LastName = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:LastName");
Mobile = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Mobile");
OrganisationName = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:OrganisationName");
Phone = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Phone");
CountryCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:CountryCode");
Latitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Latitude");
Line1 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Line1");
Line2 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Line2");
Longitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Longitude");
Postcode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Postcode");
StateCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:StateCode");
StateOverseas = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:StateOverseas");
Suburb = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Suburb");
RoleCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:RoleCode");
Title = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Title");
TypeCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:TypeCode");
DateTime = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:CreatedDate|*:DateTime");
OffsetMinutes = CkXmlW_GetChildIntValue(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:CreatedDate|*:OffsetMinutes");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:StartDate");
Code = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:Code");
IsLegacyData = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:IsLegacyData");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:StartDate");
CountryCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:CountryCode");
Latitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Latitude");
Line1 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Line1");
Line2 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Line2");
Longitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Longitude");
Postcode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Postcode");
StateCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:StateCode");
StateOverseas = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:StateOverseas");
Suburb = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Suburb");
OrganisationLocationId = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:OrganisationLocationId");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:StartDate");
CountryCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:CountryCode");
Latitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Latitude");
Line1 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Line1");
Line2 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Line2");
Longitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Longitude");
Postcode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Postcode");
StateCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:StateCode");
StateOverseas = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:StateOverseas");
Suburb = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Suburb");
OrganisationPostalAddressId = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:OrganisationPostalAddressId");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:StartDate");
CountryCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:CountryCode");
Latitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Latitude");
Line1 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Line1");
Line2 = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Line2");
Longitude = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Longitude");
Postcode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Postcode");
StateCode = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:StateCode");
StateOverseas = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:StateOverseas");
Suburb = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Suburb");
OrganisationPrincipalAddressId = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:OrganisationPrincipalAddressId");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:StartDate");
v_string = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Abns|*:string");
Acn = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Acn");
Name = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Name");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:StartDate");
Abbreviation = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Abbreviation");
iCode = CkXmlW_GetChildIntValue(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Code");
Description = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Description");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:StartDate");
Name = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:Name");
DateTime = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:UpdatedDate|*:DateTime");
OffsetMinutes = CkXmlW_GetChildIntValue(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:UpdatedDate|*:OffsetMinutes");
ActionOnEntity = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:ActionOnEntity");
EndDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:EndDate");
StartDate = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:StartDate");
Link = CkXmlW_getChildContent(responseXml,L"*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:Link");
CkXmlW_Dispose(xml);
CkHttpW_Dispose(http);
CkXmlW_Dispose(responseXml);
}