SOAP WSDL Generate Code

OrganisationServiceBasicHttpEndpoint / Add

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, "soapenv:Envelope")
    CkXml::ckAddAttribute(xml,"xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/")
    CkXml::ckAddAttribute(xml,"xmlns:tra","http://training.gov.au/services/12/")
    CkXml::ckAddAttribute(xml,"xmlns:sys","http://schemas.datacontract.org/2004/07/System")
    CkXml::ckAddAttribute(xml,"xmlns:arr","http://schemas.microsoft.com/2003/10/Serialization/Arrays")
    CkXml::ckUpdateChildContent(xml,"soapenv:Header","")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Codes|tra:OrganisationCode|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Email","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Fax","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:FirstName","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:GroupName","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:JobTitle","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:LastName","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Mobile","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:OrganisationName","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Phone","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:CountryCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Latitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line1","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line2","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Longitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Postcode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateOverseas","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Suburb","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:RoleCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:Title","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Contacts|tra:Contact|tra:TypeCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:CreatedDate|sys:DateTime","dateTime")
    CkXml::ckUpdateChildContentInt(xml,"soapenv:Body|tra:Add|tra:rto|tra:CreatedDate|sys:OffsetMinutes",442)
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DataManagers|tra:DataManagerAssignment|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:IsLegacyData","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:CountryCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Latitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line1","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line2","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Longitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Postcode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateOverseas","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Suburb","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Locations|tra:OrganisationLocation|tra:OrganisationLocationId","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:CountryCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Latitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line1","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line2","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Longitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Postcode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateOverseas","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Suburb","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:OrganisationPostalAddressId","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:CountryCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Latitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line1","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line2","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Longitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Postcode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateOverseas","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Suburb","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:OrganisationPrincipalAddressId","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Abns|arr:string","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Acn","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Name","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Abbreviation","string")
    CkXml::ckUpdateChildContentInt(xml,"soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Code",1042)
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Roles|tra:Role|tra:Description","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:TradingNames|tra:TradingName|tra:Name","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:UpdatedDate|sys:DateTime","dateTime")
    CkXml::ckUpdateChildContentInt(xml,"soapenv:Body|tra:Add|tra:rto|tra:UpdatedDate|sys:OffsetMinutes",442)
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Urls|tra:Url|tra:Link","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:PurposeCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:SchemeCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Classifications|tra:Classification|tra:ValueCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:CricosCodes|tra:RtoCricosCode|tra:Cricos_x0020_Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:CountryCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Latitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Line1","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Line2","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Longitude","99.0")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Postcode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:StateCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:StateOverseas","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:Address|tra:Suburb","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:DeliveryLocationName","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryLocations|tra:RtoDeliveryLocation|tra:RtoDeliveryLocationId","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:DateOfChange","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:CountryCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:StateCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:IsCessation","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:NotificationDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:DeliveryNotifications|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:TrainingComponentType","list of enumerated string values")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationManagers|tra:RegistrationManagerAssignment|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndReasonCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:EndReasonComments","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:Exerciser","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:LegalAuthority","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:DateOfRejection","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:IsApplicationToRenew","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationPeriods|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:RtoRegistrationOutcomeOfApplication","UnderConsideration")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegistrationStatus","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:AdditionalDetails","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionDetails","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionDetailsMarkedUp","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionLevelCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnder","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrl","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrlText","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionMakerCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionStatusCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:DecisionTypeCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:EffectiveDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:IsHistoric","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:Reference","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecision","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrl","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrlText","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:DecisionMakerCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDetails","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventStatusCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:IsHistoric","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RegulatoryDecisions|tra:RtoRegulatoryDecision|tra:ReviewStatusCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:Code","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:Restriction","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:RestrictionTypeCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Restrictions|tra:RtoRestriction|tra:ShowRestriction","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoHigherEducations|tra:RtoHigherEducation|tra:IsHigherEducation","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:RtoSchoolProviders|tra:RtoSchoolProvider|tra:IsSchoolProvider","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ActionOnEntity","None")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:EndDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:StartDate","date")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ExtentCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:IsImplicit","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:IsRefused","true")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:NrtCode","string")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:ScopeDecisionType","Granted")
    CkXml::ckUpdateChildContent(xml,"soapenv:Body|tra:Add|tra:rto|tra:Scopes|tra:Scope|tra:TrainingComponentType","list of enumerated string values")

    ; 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/Organisation"
    soapAction.s = "http://training.gov.au/services/12/IOrganisationService/Add"
    ;  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).


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


    ProcedureReturn
EndProcedure
Request 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:Add>
            <tra:rto>
                <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:Classifications>
                    <tra:Classification>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:PurposeCode>string</tra:PurposeCode>
                        <tra:SchemeCode>string</tra:SchemeCode>
                        <tra:ValueCode>string</tra:ValueCode>
                    </tra:Classification>
                </tra:Classifications>
                <tra:CricosCodes>
                    <tra:RtoCricosCode>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Cricos_x0020_Code>string</tra:Cricos_x0020_Code>
                    </tra:RtoCricosCode>
                </tra:CricosCodes>
                <tra:DeliveryLocations>
                    <tra:RtoDeliveryLocation>
                        <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:DeliveryLocationName>string</tra:DeliveryLocationName>
                        <tra:RtoDeliveryLocationId>string</tra:RtoDeliveryLocationId>
                    </tra:RtoDeliveryLocation>
                </tra:DeliveryLocations>
                <tra:DeliveryNotifications>
                    <tra:DeliveryNotification>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:DateOfChange>date</tra:DateOfChange>
                        <tra:GeographicAreas>
                            <tra:DeliveryNotificationGeographicArea>
                                <tra:CountryCode>string</tra:CountryCode>
                                <tra:StateCode>string</tra:StateCode>
                            </tra:DeliveryNotificationGeographicArea>
                        </tra:GeographicAreas>
                        <tra:IsCessation>true</tra:IsCessation>
                        <tra:NotificationDate>date</tra:NotificationDate>
                        <tra:Scopes>
                            <tra:DeliveryNotificationScope>
                                <tra:Code>string</tra:Code>
                                <tra:TrainingComponentType>list of enumerated string values</tra:TrainingComponentType>
                            </tra:DeliveryNotificationScope>
                        </tra:Scopes>
                    </tra:DeliveryNotification>
                </tra:DeliveryNotifications>
                <tra:RegistrationManagers>
                    <tra:RegistrationManagerAssignment>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Code>string</tra:Code>
                    </tra:RegistrationManagerAssignment>
                </tra:RegistrationManagers>
                <tra:RegistrationPeriods>
                    <tra:RegistrationPeriod>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:EndReasonCode>string</tra:EndReasonCode>
                        <tra:EndReasonComments>string</tra:EndReasonComments>
                        <tra:Exerciser>string</tra:Exerciser>
                        <tra:LegalAuthority>string</tra:LegalAuthority>
                        <tra:RegistrationApplicationRenew>
                            <tra:DateOfRejection>date</tra:DateOfRejection>
                            <tra:IsApplicationToRenew>true</tra:IsApplicationToRenew>
                            <tra:RtoRegistrationOutcomeOfApplication>UnderConsideration</tra:RtoRegistrationOutcomeOfApplication>
                        </tra:RegistrationApplicationRenew>
                    </tra:RegistrationPeriod>
                </tra:RegistrationPeriods>
                <tra:RegistrationStatus>string</tra:RegistrationStatus>
                <tra:RegulatoryDecisions>
                    <tra:RtoRegulatoryDecision>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:AdditionalDetails>string</tra:AdditionalDetails>
                        <tra:Code>string</tra:Code>
                        <tra:DecisionDetails>string</tra:DecisionDetails>
                        <tra:DecisionDetailsMarkedUp>string</tra:DecisionDetailsMarkedUp>
                        <tra:DecisionLevelCode>string</tra:DecisionLevelCode>
                        <tra:DecisionMadeUnder>string</tra:DecisionMadeUnder>
                        <tra:DecisionMadeUnderUrl>string</tra:DecisionMadeUnderUrl>
                        <tra:DecisionMadeUnderUrlText>string</tra:DecisionMadeUnderUrlText>
                        <tra:DecisionMakerCode>string</tra:DecisionMakerCode>
                        <tra:DecisionStatusCode>string</tra:DecisionStatusCode>
                        <tra:DecisionTypeCode>string</tra:DecisionTypeCode>
                        <tra:EffectiveDate>date</tra:EffectiveDate>
                        <tra:IsHistoric>true</tra:IsHistoric>
                        <tra:Reference>string</tra:Reference>
                        <tra:RegulatoryDecision>string</tra:RegulatoryDecision>
                        <tra:RegulatoryDecisionEvents>
                            <tra:RtoRegulatoryDecisionEvent>
                                <tra:AttachmentUrl>string</tra:AttachmentUrl>
                                <tra:AttachmentUrlText>string</tra:AttachmentUrlText>
                                <tra:DecisionMakerCode>string</tra:DecisionMakerCode>
                                <tra:EventDate>date</tra:EventDate>
                                <tra:EventDetails>string</tra:EventDetails>
                                <tra:EventStatusCode>string</tra:EventStatusCode>
                                <tra:IsHistoric>true</tra:IsHistoric>
                            </tra:RtoRegulatoryDecisionEvent>
                        </tra:RegulatoryDecisionEvents>
                        <tra:RegulatoryDecisionMapping>
                            <tra:RtoRegulatoryDecisionMapping>
                                <tra:Code>string</tra:Code>
                                <tra:Description>string</tra:Description>
                                <tra:MapFromRelationshipCode>string</tra:MapFromRelationshipCode>
                                <tra:MapToRelationshipCode>string</tra:MapToRelationshipCode>
                                <tra:MapsToCode>string</tra:MapsToCode>
                            </tra:RtoRegulatoryDecisionMapping>
                        </tra:RegulatoryDecisionMapping>
                        <tra:ReverseRegulatoryDecisionMapping>
                            <tra:RtoRegulatoryDecisionMapping>
                                <tra:Code>string</tra:Code>
                                <tra:Description>string</tra:Description>
                                <tra:MapFromRelationshipCode>string</tra:MapFromRelationshipCode>
                                <tra:MapToRelationshipCode>string</tra:MapToRelationshipCode>
                                <tra:MapsToCode>string</tra:MapsToCode>
                            </tra:RtoRegulatoryDecisionMapping>
                        </tra:ReverseRegulatoryDecisionMapping>
                        <tra:ReviewStatusCode>string</tra:ReviewStatusCode>
                    </tra:RtoRegulatoryDecision>
                </tra:RegulatoryDecisions>
                <tra:Restrictions>
                    <tra:RtoRestriction>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:Code>string</tra:Code>
                        <tra:Restriction>string</tra:Restriction>
                        <tra:RestrictionTypeCode>string</tra:RestrictionTypeCode>
                        <tra:ShowRestriction>true</tra:ShowRestriction>
                    </tra:RtoRestriction>
                </tra:Restrictions>
                <tra:RtoHigherEducations>
                    <tra:RtoHigherEducation>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:IsHigherEducation>true</tra:IsHigherEducation>
                    </tra:RtoHigherEducation>
                </tra:RtoHigherEducations>
                <tra:RtoSchoolProviders>
                    <tra:RtoSchoolProvider>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:IsSchoolProvider>true</tra:IsSchoolProvider>
                    </tra:RtoSchoolProvider>
                </tra:RtoSchoolProviders>
                <tra:Scopes>
                    <tra:Scope>
                        <tra:ActionOnEntity>None</tra:ActionOnEntity>
                        <tra:EndDate>date</tra:EndDate>
                        <tra:StartDate>date</tra:StartDate>
                        <tra:ExtentCode>string</tra:ExtentCode>
                        <tra:IsImplicit>true</tra:IsImplicit>
                        <tra:IsRefused>true</tra:IsRefused>
                        <tra:NrtCode>string</tra:NrtCode>
                        <tra:ScopeDecisionType>Granted</tra:ScopeDecisionType>
                        <tra:TrainingComponentType>list of enumerated string values</tra:TrainingComponentType>
                    </tra:Scope>
                </tra:Scopes>
            </tra:rto>
        </tra:Add>
    </soapenv:Body>
</soapenv:Envelope>
Response XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tra="http://training.gov.au/services/12/">
    <soapenv:Header/>
    <soapenv:Body>
        <tra:AddResponse/>
    </soapenv:Body>
</soapenv:Envelope>