SOAP WSDL Generate Code

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);

    }
Request XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tra="http://training.gov.au/services/12/">
    <soapenv:Header/>
    <soapenv: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>
    </soapenv:Body>
</soapenv:Envelope>
Response XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tra="http://training.gov.au/services/12/" xmlns:sys="http://schemas.datacontract.org/2004/07/System" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <soapenv:Header/>
    <soapenv: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>
    </soapenv:Body>
</soapenv:Envelope>