SOAP WSDL Generate Code

OrganisationServiceBasicHttpEndpoint / 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
#include <C_CkXmlW.h>
#include <C_CkHttpW.h>
#include <C_CkHttpResponseW.h>

void ChilkatSample(void)
    {
    HCkXmlW xml;
    const wchar_t *soapRequestBody;
    const wchar_t *endpoint;
    const wchar_t *soapAction;
    const wchar_t *contentType;
    HCkHttpW http;
    HCkHttpResponseW resp;
    HCkXmlW responseXml;
    int statusCode;

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

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

    http = CkHttpW_Create();

    CkHttpW_ClearHeaders(http);
    CkHttpW_SetRequestHeader(http,L"Content-Type",contentType);
    CkHttpW_SetRequestHeader(http,L"SOAPAction",soapAction);

    resp = CkHttpW_PostXml(http,endpoint,soapRequestBody,L"utf-8");
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        wprintf(L"Failed to send SOAP request.\n");
        CkXmlW_Dispose(xml);
        CkHttpW_Dispose(http);
        return;
    }

    // Get the XML response body.
    responseXml = CkXmlW_Create();
    CkHttpResponseW_GetBodyXml(resp,responseXml);

    statusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"response status code: %d\n",statusCode);

    CkHttpResponseW_Dispose(resp);

    // If the status code does not indicate succcess, then show the response XML,
    // which probably contains error information.
    if (statusCode != 200) {
        wprintf(L"%s\n",CkXmlW_getXml(responseXml));
        CkXmlW_Dispose(xml);
        CkHttpW_Dispose(http);
        CkXmlW_Dispose(responseXml);
        return;
    }

    wprintf(L"%s\n",CkXmlW_getXml(responseXml));

    // Parse the successful SOAP response XML.

    // This is a sample of the response XML, but the namespace prefixes will be different.
    // We can parse the result using "*" for the namespace prefixes (see below).


    CkXmlW_Dispose(xml);
    CkHttpW_Dispose(http);
    CkXmlW_Dispose(responseXml);

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