SOAP WSDL Generate Code

OrganisationServiceWsHttpEndpoint / AddOrganisation

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
Add-Type -Path "C:\chilkat\ChilkatDotNet47-9.5.0-x64\ChilkatDotNet47.dll"

$xml = New-Object Chilkat.Xml
$xml.Tag = "soap:Envelope"
$xml.AddAttribute("xmlns:sys","http://schemas.datacontract.org/2004/07/System")
$xml.AddAttribute("xmlns:tra","http://training.gov.au/services/12/")
$xml.AddAttribute("xmlns:soap","http://www.w3.org/2003/05/soap-envelope")
$xml.AddAttribute("xmlns:arr","http://schemas.microsoft.com/2003/10/Serialization/Arrays")
$xml.UpdateChildContent("soap:Header","")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Codes|tra:OrganisationCode|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Codes|tra:OrganisationCode|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Codes|tra:OrganisationCode|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Codes|tra:OrganisationCode|tra:Code","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:Email","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:Fax","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:FirstName","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:GroupName","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:JobTitle","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:LastName","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:Mobile","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:OrganisationName","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:Phone","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:CountryCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Latitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line1","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Line2","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Longitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Postcode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:StateOverseas","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:PostalAddress|tra:Suburb","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:RoleCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:Title","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Contacts|tra:Contact|tra:TypeCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:CreatedDate|sys:DateTime","dateTime")
$xml.UpdateChildContentInt("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:CreatedDate|sys:OffsetMinutes",442)
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:DataManagers|tra:DataManagerAssignment|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:DataManagers|tra:DataManagerAssignment|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:DataManagers|tra:DataManagerAssignment|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:DataManagers|tra:DataManagerAssignment|tra:Code","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:IsLegacyData","true")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:CountryCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Latitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line1","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Line2","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Longitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Postcode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:StateOverseas","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:Address|tra:Suburb","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Locations|tra:OrganisationLocation|tra:OrganisationLocationId","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:CountryCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Latitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line1","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Line2","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Longitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Postcode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:StateOverseas","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:Address|tra:Suburb","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PostalAddresses|tra:OrganisationPostalAddress|tra:OrganisationPostalAddressId","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:CountryCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Latitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line1","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Line2","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Longitude","99.0")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Postcode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateCode","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:StateOverseas","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:Address|tra:Suburb","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:PrincipalAddresses|tra:OrganisationPrincipalAddress|tra:OrganisationPrincipalAddressId","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Abns|arr:string","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Acn","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:ResponsibleLegalPersons|tra:ResponsibleLegalPerson|tra:Name","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Roles|tra:Role|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Roles|tra:Role|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Roles|tra:Role|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Roles|tra:Role|tra:Abbreviation","string")
$xml.UpdateChildContentInt("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Roles|tra:Role|tra:Code",1042)
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Roles|tra:Role|tra:Description","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:TradingNames|tra:TradingName|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:TradingNames|tra:TradingName|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:TradingNames|tra:TradingName|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:TradingNames|tra:TradingName|tra:Name","string")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:UpdatedDate|sys:DateTime","dateTime")
$xml.UpdateChildContentInt("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:UpdatedDate|sys:OffsetMinutes",442)
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Urls|tra:Url|tra:ActionOnEntity","None")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Urls|tra:Url|tra:EndDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Urls|tra:Url|tra:StartDate","date")
$xml.UpdateChildContent("soap:Body|tra:AddOrganisation|tra:rtoDto|tra:Urls|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.EmitXmlDecl = $false
$soapRequestBody = $xml.GetXml()

$endpoint = "https://ws.staging.training.gov.au/Deewr.Tga.WebServices/OrganisationServiceV12.svc/Organisation12"
$soapAction = "http://training.gov.au/services/12/IOrganisationService/AddOrganisation"
#  For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
$contentType = "text/xml"

$http = New-Object Chilkat.Http

$http.ClearHeaders()
$http.SetRequestHeader("Content-Type",$contentType)
$http.SetRequestHeader("SOAPAction",$soapAction)

$resp = $http.PostXml($endpoint,$soapRequestBody,"utf-8")
if ($http.LastMethodSuccess -eq $false) {
    $($http.LastErrorText)
    $("Failed to send SOAP request.")
    exit
}

# Get the XML response body.
$responseXml = New-Object Chilkat.Xml
$resp.GetBodyXml($responseXml)

$statusCode = $resp.StatusCode
$("response status code: " + $statusCode)

# If the status code does not indicate succcess, then show the response XML,
# which probably contains error information.
if ($statusCode -ne 200) {
    $($responseXml.GetXml())
    exit
}

$($responseXml.GetXml())

# 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).
Request 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:AddOrganisation>
            <tra:rtoDto>
                <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:rtoDto>
        </tra:AddOrganisation>
    </soap:Body>
</soap:Envelope>
Response XML
<soap:Envelope xmlns:tra="http://training.gov.au/services/12/" xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header/>
    <soap:Body>
        <tra:AddOrganisationResponse/>
    </soap:Body>
</soap:Envelope>