OrganisationServiceBasicHttpEndpoint / Update
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
use chilkat();
$xml = chilkat::CkXml->new();
$xml->put_Tag("soapenv:Envelope");
$xml->AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/");
$xml->AddAttribute("xmlns:tra","http://training.gov.au/services/12/");
$xml->AddAttribute("xmlns:arr","http://schemas.microsoft.com/2003/10/Serialization/Arrays");
$xml->UpdateChildContent("soapenv:Header","");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:List|tra:Classification|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:List|tra:Classification|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:List|tra:Classification|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:List|tra:Classification|tra:PurposeCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:List|tra:Classification|tra:SchemeCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ClassificationList|tra:List|tra:Classification|tra:ValueCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CodeList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CodeList|tra:List|tra:OrganisationCode|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CodeList|tra:List|tra:OrganisationCode|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CodeList|tra:List|tra:OrganisationCode|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CodeList|tra:List|tra:OrganisationCode|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:Email","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:Fax","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:FirstName","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:GroupName","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:JobTitle","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:LastName","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:Mobile","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:OrganisationName","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:Phone","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:CountryCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:Latitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:Line1","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:Line2","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:Longitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:Postcode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:StateCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:StateOverseas","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:PostalAddress|tra:Suburb","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:RoleCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:Title","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ContactList|tra:List|tra:Contact|tra:TypeCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CricosCodeList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CricosCodeList|tra:List|tra:RtoCricosCode|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CricosCodeList|tra:List|tra:RtoCricosCode|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CricosCodeList|tra:List|tra:RtoCricosCode|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:CricosCodeList|tra:List|tra:RtoCricosCode|tra:Cricos_x0020_Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:CountryCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:Latitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:Line1","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:Line2","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:Longitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:Postcode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:StateCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:StateOverseas","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:Address|tra:Suburb","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:DeliveryLocationName","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryLocationList|tra:List|tra:RtoDeliveryLocation|tra:RtoDeliveryLocationId","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:DateOfChange","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:CountryCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:GeographicAreas|tra:DeliveryNotificationGeographicArea|tra:StateCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:IsCessation","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:NotificationDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:DeliveryNotificationList|tra:List|tra:DeliveryNotification|tra:Scopes|tra:DeliveryNotificationScope|tra:TrainingComponentType","list of enumerated string values");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:HigherEducationList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:HigherEducationList|tra:List|tra:RtoHigherEducation|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:HigherEducationList|tra:List|tra:RtoHigherEducation|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:HigherEducationList|tra:List|tra:RtoHigherEducation|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:HigherEducationList|tra:List|tra:RtoHigherEducation|tra:IsHigherEducation","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:IsLegacyData","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:CountryCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:Latitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:Line1","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:Line2","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:Longitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:Postcode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:StateCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:StateOverseas","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:Address|tra:Suburb","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:LocationList|tra:List|tra:OrganisationLocation|tra:OrganisationLocationId","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:CountryCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:Latitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:Line1","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:Line2","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:Longitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:Postcode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:StateCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:StateOverseas","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:Address|tra:Suburb","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:OrganisationPrincipalAddressList|tra:List|tra:OrganisationPrincipalAddress|tra:OrganisationPrincipalAddressId","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:CountryCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:Latitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:Line1","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:Line2","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:Longitude","99.0");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:Postcode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:StateCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:StateOverseas","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:Address|tra:Suburb","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:PostalAddressList|tra:List|tra:OrganisationPostalAddress|tra:OrganisationPostalAddressId","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:EndReasonCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:EndReasonComments","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:Exerciser","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:LegalAuthority","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:DateOfRejection","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:IsApplicationToRenew","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegistrationPeriodList|tra:List|tra:RegistrationPeriod|tra:RegistrationApplicationRenew|tra:RtoRegistrationOutcomeOfApplication","UnderConsideration");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:AdditionalDetails","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionDetails","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionDetailsMarkedUp","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionLevelCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionMadeUnder","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrl","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionMadeUnderUrlText","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionMakerCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionStatusCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:DecisionTypeCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:EffectiveDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:IsHistoric","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:Reference","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecision","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrl","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:AttachmentUrlText","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:DecisionMakerCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventDetails","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:EventStatusCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionEvents|tra:RtoRegulatoryDecisionEvent|tra:IsHistoric","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:RegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:Description","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapFromRelationshipCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapToRelationshipCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ReverseRegulatoryDecisionMapping|tra:RtoRegulatoryDecisionMapping|tra:MapsToCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RegulatoryDecisionList|tra:List|tra:RtoRegulatoryDecision|tra:ReviewStatusCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:List|tra:ResponsibleLegalPerson|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:List|tra:ResponsibleLegalPerson|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:List|tra:ResponsibleLegalPerson|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:List|tra:ResponsibleLegalPerson|tra:Abns|arr:string","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:List|tra:ResponsibleLegalPerson|tra:Acn","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ResponsibleLegalPersonList|tra:List|tra:ResponsibleLegalPerson|tra:Name","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:Code","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:Restriction","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:RestrictionTypeCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:RestrictionList|tra:List|tra:RtoRestriction|tra:ShowRestriction","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:SchoolProviderList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:SchoolProviderList|tra:List|tra:RtoSchoolProvider|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:SchoolProviderList|tra:List|tra:RtoSchoolProvider|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:SchoolProviderList|tra:List|tra:RtoSchoolProvider|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:SchoolProviderList|tra:List|tra:RtoSchoolProvider|tra:IsSchoolProvider","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:ExtentCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:IsImplicit","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:IsRefused","true");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:NrtCode","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:ScopeDecisionType","Granted");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:ScopeList|tra:List|tra:Scope|tra:TrainingComponentType","list of enumerated string values");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:TradingNameList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:TradingNameList|tra:List|tra:TradingName|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:TradingNameList|tra:List|tra:TradingName|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:TradingNameList|tra:List|tra:TradingName|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:TradingNameList|tra:List|tra:TradingName|tra:Name","string");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:UrlList|tra:ActionOnCollection","Current");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:UrlList|tra:List|tra:Url|tra:ActionOnEntity","None");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:UrlList|tra:List|tra:Url|tra:EndDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:UrlList|tra:List|tra:Url|tra:StartDate","date");
$xml->UpdateChildContent("soapenv:Body|tra:Update|tra:request|tra:UrlList|tra:List|tra:Url|tra:Link","string");
# In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
$xml->put_EmitXmlDecl(0);
$soapRequestBody = $xml->getXml();
$endpoint = "https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation";
$soapAction = "http://training.gov.au/services/12/IOrganisationService/Update";
# For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
$contentType = "text/xml";
$http = chilkat::CkHttp->new();
$http->ClearHeaders();
$http->SetRequestHeader("Content-Type",$contentType);
$http->SetRequestHeader("SOAPAction",$soapAction);
# resp is a HttpResponse
$resp = $http->PostXml($endpoint,$soapRequestBody,"utf-8");
if ($http->get_LastMethodSuccess() == 0) {
print $http->lastErrorText() . "\r\n";
print "Failed to send SOAP request." . "\r\n";
exit;
}
# Get the XML response body.
$responseXml = chilkat::CkXml->new();
$resp->GetBodyXml($responseXml);
$statusCode = $resp->get_StatusCode();
print "response status code: " . $statusCode . "\r\n";
# If the status code does not indicate succcess, then show the response XML,
# which probably contains error information.
if ($statusCode != 200) {
print $responseXml->getXml() . "\r\n";
exit;
}
print $responseXml->getXml() . "\r\n";
# 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).