SOAP WSDL Generate Code

OrganisationServiceWsHttpEndpoint / 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
var
xml: HCkXml;
soapRequestBody: PWideChar;
endpoint: PWideChar;
soapAction: PWideChar;
contentType: PWideChar;
http: HCkHttp;
resp: HCkHttpResponse;
responseXml: HCkXml;
statusCode: Integer;
ActionOnEntity: PWideChar;
EndDate: PWideChar;
StartDate: PWideChar;
Code: PWideChar;
v_Email: PWideChar;
Fax: PWideChar;
FirstName: PWideChar;
GroupName: PWideChar;
JobTitle: PWideChar;
LastName: PWideChar;
Mobile: PWideChar;
OrganisationName: PWideChar;
Phone: PWideChar;
CountryCode: PWideChar;
Latitude: PWideChar;
Line1: PWideChar;
Line2: PWideChar;
Longitude: PWideChar;
Postcode: PWideChar;
StateCode: PWideChar;
StateOverseas: PWideChar;
Suburb: PWideChar;
RoleCode: PWideChar;
Title: PWideChar;
TypeCode: PWideChar;
DateTime: PWideChar;
OffsetMinutes: Integer;
IsLegacyData: PWideChar;
OrganisationLocationId: PWideChar;
OrganisationPostalAddressId: PWideChar;
OrganisationPrincipalAddressId: PWideChar;
v_string: PWideChar;
Acn: PWideChar;
Name: PWideChar;
Abbreviation: PWideChar;
iCode: Integer;
Description: PWideChar;
Link: PWideChar;

begin
xml := CkXml_Create();
CkXml_putTag(xml,'soap:Envelope');
CkXml_AddAttribute(xml,'xmlns:soap','http://www.w3.org/2003/05/soap-envelope');
CkXml_AddAttribute(xml,'xmlns:tra','http://training.gov.au/services/12/');
CkXml_UpdateChildContent(xml,'soap:Header','');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:Code','string');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:IncludeLegacyData','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowCodes','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowContacts','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowDataManagers','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowExplicitScope','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowImplicitScope','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowLocations','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowOrganisatoinRoles','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPostalAddresses','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPrincipalAddresses','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationManagers','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationPeriods','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegulatoryDecisions','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowResponsibleLegalPersons','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRestrictions','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoClassifications','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoCricosCodes','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryLocation','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryNotification','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoHigherEducation','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoSchoolProvider','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowTradingNames','true');
CkXml_UpdateChildContent(xml,'soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowUrls','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. 
CkXml_putEmitXmlDecl(xml,False);
soapRequestBody := CkXml__getXml(xml);

endpoint := 'https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation12';
soapAction := '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 := 'text/xml';

http := CkHttp_Create();

CkHttp_ClearHeaders(http);
CkHttp_SetRequestHeader(http,'Content-Type',contentType);
CkHttp_SetRequestHeader(http,'SOAPAction',soapAction);

resp := CkHttp_PostXml(http,endpoint,soapRequestBody,'utf-8');
if (CkHttp_getLastMethodSuccess(http) = False) then
  begin
    Memo1.Lines.Add(CkHttp__lastErrorText(http));
    Memo1.Lines.Add('Failed to send SOAP request.');
    Exit;
  end;

// Get the XML response body.
responseXml := CkXml_Create();
CkHttpResponse_GetBodyXml(resp,responseXml);

statusCode := CkHttpResponse_getStatusCode(resp);
Memo1.Lines.Add('response status code: ' + IntToStr(statusCode));

CkHttpResponse_Dispose(resp);

// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if (statusCode <> 200) then
  begin
    Memo1.Lines.Add(CkXml__getXml(responseXml));
    Exit;
  end;

Memo1.Lines.Add(CkXml__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 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:StartDate');
Code := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Codes|*:OrganisationCode|*:Code');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:StartDate');
v_Email := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Email');
Fax := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Fax');
FirstName := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:FirstName');
GroupName := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:GroupName');
JobTitle := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:JobTitle');
LastName := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:LastName');
Mobile := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Mobile');
OrganisationName := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:OrganisationName');
Phone := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Phone');
CountryCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:CountryCode');
Latitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Latitude');
Line1 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Line1');
Line2 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Line2');
Longitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Longitude');
Postcode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Postcode');
StateCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:StateCode');
StateOverseas := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:StateOverseas');
Suburb := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:PostalAddress|*:Suburb');
RoleCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:RoleCode');
Title := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:Title');
TypeCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Contacts|*:Contact|*:TypeCode');
DateTime := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:CreatedDate|*:DateTime');
OffsetMinutes := CkXml_GetChildIntValue(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:CreatedDate|*:OffsetMinutes');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:StartDate');
Code := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:DataManagers|*:DataManagerAssignment|*:Code');
IsLegacyData := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:IsLegacyData');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:StartDate');
CountryCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:CountryCode');
Latitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Latitude');
Line1 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Line1');
Line2 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Line2');
Longitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Longitude');
Postcode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Postcode');
StateCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:StateCode');
StateOverseas := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:StateOverseas');
Suburb := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:Address|*:Suburb');
OrganisationLocationId := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Locations|*:OrganisationLocation|*:OrganisationLocationId');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:StartDate');
CountryCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:CountryCode');
Latitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Latitude');
Line1 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Line1');
Line2 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Line2');
Longitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Longitude');
Postcode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Postcode');
StateCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:StateCode');
StateOverseas := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:StateOverseas');
Suburb := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:Address|*:Suburb');
OrganisationPostalAddressId := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PostalAddresses|*:OrganisationPostalAddress|*:OrganisationPostalAddressId');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:StartDate');
CountryCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:CountryCode');
Latitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Latitude');
Line1 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Line1');
Line2 := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Line2');
Longitude := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Longitude');
Postcode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Postcode');
StateCode := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:StateCode');
StateOverseas := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:StateOverseas');
Suburb := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:Address|*:Suburb');
OrganisationPrincipalAddressId := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:PrincipalAddresses|*:OrganisationPrincipalAddress|*:OrganisationPrincipalAddressId');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:StartDate');
v_string := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Abns|*:string');
Acn := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Acn');
Name := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:ResponsibleLegalPersons|*:ResponsibleLegalPerson|*:Name');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:StartDate');
Abbreviation := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Abbreviation');
iCode := CkXml_GetChildIntValue(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Code');
Description := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Roles|*:Role|*:Description');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:StartDate');
Name := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:TradingNames|*:TradingName|*:Name');
DateTime := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:UpdatedDate|*:DateTime');
OffsetMinutes := CkXml_GetChildIntValue(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:UpdatedDate|*:OffsetMinutes');
ActionOnEntity := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:ActionOnEntity');
EndDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:EndDate');
StartDate := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:StartDate');
Link := CkXml__getChildContent(responseXml,'*:Body|*:GetDetailsResponse|*:GetDetailsResult|*:Urls|*:Url|*:Link');

CkXml_Dispose(xml);
CkHttp_Dispose(http);
CkXml_Dispose(responseXml);

Request XML
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tra="http://training.gov.au/services/12/">
    <soap:Header/>
    <soap:Body>
        <tra:GetDetails>
            <tra:request>
                <tra:Code>string</tra:Code>
                <tra:IncludeLegacyData>true</tra:IncludeLegacyData>
                <tra:InformationRequested>
                    <tra:ShowCodes>true</tra:ShowCodes>
                    <tra:ShowContacts>true</tra:ShowContacts>
                    <tra:ShowDataManagers>true</tra:ShowDataManagers>
                    <tra:ShowExplicitScope>true</tra:ShowExplicitScope>
                    <tra:ShowImplicitScope>true</tra:ShowImplicitScope>
                    <tra:ShowLocations>true</tra:ShowLocations>
                    <tra:ShowOrganisatoinRoles>true</tra:ShowOrganisatoinRoles>
                    <tra:ShowPostalAddresses>true</tra:ShowPostalAddresses>
                    <tra:ShowPrincipalAddresses>true</tra:ShowPrincipalAddresses>
                    <tra:ShowRegistrationManagers>true</tra:ShowRegistrationManagers>
                    <tra:ShowRegistrationPeriods>true</tra:ShowRegistrationPeriods>
                    <tra:ShowRegulatoryDecisions>true</tra:ShowRegulatoryDecisions>
                    <tra:ShowResponsibleLegalPersons>true</tra:ShowResponsibleLegalPersons>
                    <tra:ShowRestrictions>true</tra:ShowRestrictions>
                    <tra:ShowRtoClassifications>true</tra:ShowRtoClassifications>
                    <tra:ShowRtoCricosCodes>true</tra:ShowRtoCricosCodes>
                    <tra:ShowRtoDeliveryLocation>true</tra:ShowRtoDeliveryLocation>
                    <tra:ShowRtoDeliveryNotification>true</tra:ShowRtoDeliveryNotification>
                    <tra:ShowRtoHigherEducation>true</tra:ShowRtoHigherEducation>
                    <tra:ShowRtoSchoolProvider>true</tra:ShowRtoSchoolProvider>
                    <tra:ShowTradingNames>true</tra:ShowTradingNames>
                    <tra:ShowUrls>true</tra:ShowUrls>
                </tra:InformationRequested>
            </tra:request>
        </tra:GetDetails>
    </soap:Body>
</soap:Envelope>
Response XML
<soap:Envelope xmlns:sys="http://schemas.datacontract.org/2004/07/System" xmlns:tra="http://training.gov.au/services/12/" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <soap:Header/>
    <soap:Body>
        <tra:GetDetailsResponse>
            <tra:GetDetailsResult>
                <tra:Codes>
                    <tra:OrganisationCode>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Code>string</tra:Code>
                    </tra:OrganisationCode>
                </tra:Codes>
                <tra:Contacts>
                    <tra:Contact>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Email>string</tra:Email>
                        <tra:Fax>string</tra:Fax>
                        <tra:FirstName>string</tra:FirstName>
                        <tra:GroupName>string</tra:GroupName>
                        <tra:JobTitle>string</tra:JobTitle>
                        <tra:LastName>string</tra:LastName>
                        <tra:Mobile>string</tra:Mobile>
                        <tra:OrganisationName>string</tra:OrganisationName>
                        <tra:Phone>string</tra:Phone>
                        <tra:PostalAddress>
                            <tra:CountryCode>string</tra:CountryCode>
                            <tra:Latitude>99.0</tra:Latitude>
                            <tra:Line1>string</tra:Line1>
                            <tra:Line2>string</tra:Line2>
                            <tra:Longitude>99.0</tra:Longitude>
                            <tra:Postcode>string</tra:Postcode>
                            <tra:StateCode>string</tra:StateCode>
                            <tra:StateOverseas>string</tra:StateOverseas>
                            <tra:Suburb>string</tra:Suburb>
                        </tra:PostalAddress>
                        <tra:RoleCode>string</tra:RoleCode>
                        <tra:Title>string</tra:Title>
                        <tra:TypeCode>string</tra:TypeCode>
                    </tra:Contact>
                </tra:Contacts>
                <tra:CreatedDate>
                    <sys:DateTime>dateTime</sys:DateTime>
                    <sys:OffsetMinutes>442</sys:OffsetMinutes>
                </tra:CreatedDate>
                <tra:DataManagers>
                    <tra:DataManagerAssignment>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Code>string</tra:Code>
                    </tra:DataManagerAssignment>
                </tra:DataManagers>
                <tra:IsLegacyData>true</tra:IsLegacyData>
                <tra:Locations>
                    <tra:OrganisationLocation>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Address>
                            <tra:CountryCode>string</tra:CountryCode>
                            <tra:Latitude>99.0</tra:Latitude>
                            <tra:Line1>string</tra:Line1>
                            <tra:Line2>string</tra:Line2>
                            <tra:Longitude>99.0</tra:Longitude>
                            <tra:Postcode>string</tra:Postcode>
                            <tra:StateCode>string</tra:StateCode>
                            <tra:StateOverseas>string</tra:StateOverseas>
                            <tra:Suburb>string</tra:Suburb>
                        </tra:Address>
                        <tra:OrganisationLocationId>string</tra:OrganisationLocationId>
                    </tra:OrganisationLocation>
                </tra:Locations>
                <tra:PostalAddresses>
                    <tra:OrganisationPostalAddress>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Address>
                            <tra:CountryCode>string</tra:CountryCode>
                            <tra:Latitude>99.0</tra:Latitude>
                            <tra:Line1>string</tra:Line1>
                            <tra:Line2>string</tra:Line2>
                            <tra:Longitude>99.0</tra:Longitude>
                            <tra:Postcode>string</tra:Postcode>
                            <tra:StateCode>string</tra:StateCode>
                            <tra:StateOverseas>string</tra:StateOverseas>
                            <tra:Suburb>string</tra:Suburb>
                        </tra:Address>
                        <tra:OrganisationPostalAddressId>string</tra:OrganisationPostalAddressId>
                    </tra:OrganisationPostalAddress>
                </tra:PostalAddresses>
                <tra:PrincipalAddresses>
                    <tra:OrganisationPrincipalAddress>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Address>
                            <tra:CountryCode>string</tra:CountryCode>
                            <tra:Latitude>99.0</tra:Latitude>
                            <tra:Line1>string</tra:Line1>
                            <tra:Line2>string</tra:Line2>
                            <tra:Longitude>99.0</tra:Longitude>
                            <tra:Postcode>string</tra:Postcode>
                            <tra:StateCode>string</tra:StateCode>
                            <tra:StateOverseas>string</tra:StateOverseas>
                            <tra:Suburb>string</tra:Suburb>
                        </tra:Address>
                        <tra:OrganisationPrincipalAddressId>string</tra:OrganisationPrincipalAddressId>
                    </tra:OrganisationPrincipalAddress>
                </tra:PrincipalAddresses>
                <tra:ResponsibleLegalPersons>
                    <tra:ResponsibleLegalPerson>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Abns>
                            <arr:string>string</arr:string>
                        </tra:Abns>
                        <tra:Acn>string</tra:Acn>
                        <tra:Name>string</tra:Name>
                    </tra:ResponsibleLegalPerson>
                </tra:ResponsibleLegalPersons>
                <tra:Roles>
                    <tra:Role>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Abbreviation>string</tra:Abbreviation>
                        <tra:Code>1042</tra:Code>
                        <tra:Description>string</tra:Description>
                    </tra:Role>
                </tra:Roles>
                <tra:TradingNames>
                    <tra:TradingName>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Name>string</tra:Name>
                    </tra:TradingName>
                </tra:TradingNames>
                <tra:UpdatedDate>
                    <sys:DateTime>dateTime</sys:DateTime>
                    <sys:OffsetMinutes>442</sys:OffsetMinutes>
                </tra:UpdatedDate>
                <tra:Urls>
                    <tra:Url>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Link>string</tra:Link>
                    </tra:Url>
                </tra:Urls>
            </tra:GetDetailsResult>
        </tra:GetDetailsResponse>
    </soap:Body>
</soap:Envelope>