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
IncludeFile "CkHttp.pb"
IncludeFile "CkHttpResponse.pb"
IncludeFile "CkXml.pb"

Procedure ChilkatExample()

    xml.i = CkXml::ckCreate()
    If xml.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkXml::setCkTag(xml, "soap:Envelope")
    CkXml::ckAddAttribute(xml,"xmlns:soap","http://www.w3.org/2003/05/soap-envelope")
    CkXml::ckAddAttribute(xml,"xmlns:tra","http://training.gov.au/services/12/")
    CkXml::ckUpdateChildContent(xml,"soap:Header","")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:IncludeLegacyData","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowCodes","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowContacts","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowDataManagers","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowExplicitScope","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowImplicitScope","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowLocations","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowOrganisatoinRoles","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPostalAddresses","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowPrincipalAddresses","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationManagers","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegistrationPeriods","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRegulatoryDecisions","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowResponsibleLegalPersons","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRestrictions","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoClassifications","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoCricosCodes","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryLocation","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoDeliveryNotification","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoHigherEducation","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowRtoSchoolProvider","true")
    CkXml::ckUpdateChildContent(xml,"soap:Body|tra:GetDetails|tra:request|tra:InformationRequested|tra:ShowTradingNames","true")
    CkXml::ckUpdateChildContent(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::setCkEmitXmlDecl(xml, 0)
    soapRequestBody.s = CkXml::ckGetXml(xml)

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

    http.i = CkHttp::ckCreate()
    If http.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkHttp::ckClearHeaders(http)
    CkHttp::ckSetRequestHeader(http,"Content-Type",contentType)
    CkHttp::ckSetRequestHeader(http,"SOAPAction",soapAction)

    resp.i = CkHttp::ckPostXml(http,endpoint,soapRequestBody,"utf-8")
    If CkHttp::ckLastMethodSuccess(http) = 0
        Debug CkHttp::ckLastErrorText(http)
        Debug "Failed to send SOAP request."
        CkXml::ckDispose(xml)
        CkHttp::ckDispose(http)
        ProcedureReturn
    EndIf

    ; Get the XML response body.
    responseXml.i = CkXml::ckCreate()
    If responseXml.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkHttpResponse::ckGetBodyXml(resp,responseXml)

    statusCode.i = CkHttpResponse::ckStatusCode(resp)
    Debug "response status code: " + Str(statusCode)

    CkHttpResponse::ckDispose(resp)

    ; If the status code does not indicate succcess, then show the response XML,
    ; which probably contains error information.
    If statusCode <> 200
        Debug CkXml::ckGetXml(responseXml)
        CkXml::ckDispose(xml)
        CkHttp::ckDispose(http)
        CkXml::ckDispose(responseXml)
        ProcedureReturn
    EndIf

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


    CkXml::ckDispose(xml)
    CkHttp::ckDispose(http)
    CkXml::ckDispose(responseXml)


    ProcedureReturn
EndProcedure
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>