Postman1
Click here for a complete list of operations.
ScanAddress
Validate and correct an Australian postal address.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /postman/postman1.asmx HTTP/1.1 Host: webservice.dmsw.com.au Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.dmsw.com.au/ScanAddress" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ScanAddress xmlns="http://www.dmsw.com.au/"> <sessionID>string</sessionID> <address1>string</address1> <address2>string</address2> <address3>string</address3> <address4>string</address4> <address5>string</address5> <address6>string</address6> <suburb>string</suburb> <state>string</state> <postcode>string</postcode> <country>string</country> </ScanAddress> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ScanAddressResponse xmlns="http://www.dmsw.com.au/"> <ScanAddressResult> <Address1>string</Address1> <Address2>string</Address2> <Address3>string</Address3> <Address4>string</Address4> <Address5>string</Address5> <Address6>string</Address6> <Suburb>string</Suburb> <State>string</State> <PostalCode>string</PostalCode> <StatusCode>int</StatusCode> <StatusDescription>string</StatusDescription> <IsStreetAddress>boolean</IsStreetAddress> <IsValidAddress>boolean</IsValidAddress> <IsCorrectedAddress>boolean</IsCorrectedAddress> <DPID>int</DPID> <BSP>string</BSP> <Barcode>string</Barcode> <BSPName>string</BSPName> <BSPState>string</BSPState> <PrimaryPointFlag>int</PrimaryPointFlag> <Property1>string</Property1> <Property2>string</Property2> <PropertyName>string</PropertyName> <SortDestination>string</SortDestination> <LevelNo>string</LevelNo> <LevelType>string</LevelType> <LotNo>string</LotNo> <ThoroughfareName>string</ThoroughfareName> <ThoroughfareType>string</ThoroughfareType> <ThoroughfareTypeSuffix>string</ThoroughfareTypeSuffix> <UnitNo>string</UnitNo> <UnitType>string</UnitType> <StreetNumber>string</StreetNumber> <ThoroughfareNo1>int</ThoroughfareNo1> <ThoroughfareNo1Suffix>string</ThoroughfareNo1Suffix> <ThoroughfareNo2>int</ThoroughfareNo2> <ThoroughfareNo2Suffix>string</ThoroughfareNo2Suffix> <POBoxNo>int</POBoxNo> <POBoxNoPrefix>string</POBoxNoPrefix> <POBoxNoSuffix>string</POBoxNoSuffix> <POBoxType>string</POBoxType> <NonAddressData>string</NonAddressData> <CareOfData>string</CareOfData> <OriginalAddressData> <Address1>string</Address1> <Address2>string</Address2> <Address3>string</Address3> <Address4>string</Address4> <Address5>string</Address5> <Address6>string</Address6> <Suburb>string</Suburb> <State>string</State> <PostalCode>string</PostalCode> <Country>string</Country> </OriginalAddressData> <LastError>int</LastError> <LastErrorDescription>string</LastErrorDescription> </ScanAddressResult> </ScanAddressResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /postman/postman1.asmx HTTP/1.1 Host: webservice.dmsw.com.au Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ScanAddress xmlns="http://www.dmsw.com.au/"> <sessionID>string</sessionID> <address1>string</address1> <address2>string</address2> <address3>string</address3> <address4>string</address4> <address5>string</address5> <address6>string</address6> <suburb>string</suburb> <state>string</state> <postcode>string</postcode> <country>string</country> </ScanAddress> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ScanAddressResponse xmlns="http://www.dmsw.com.au/"> <ScanAddressResult> <Address1>string</Address1> <Address2>string</Address2> <Address3>string</Address3> <Address4>string</Address4> <Address5>string</Address5> <Address6>string</Address6> <Suburb>string</Suburb> <State>string</State> <PostalCode>string</PostalCode> <StatusCode>int</StatusCode> <StatusDescription>string</StatusDescription> <IsStreetAddress>boolean</IsStreetAddress> <IsValidAddress>boolean</IsValidAddress> <IsCorrectedAddress>boolean</IsCorrectedAddress> <DPID>int</DPID> <BSP>string</BSP> <Barcode>string</Barcode> <BSPName>string</BSPName> <BSPState>string</BSPState> <PrimaryPointFlag>int</PrimaryPointFlag> <Property1>string</Property1> <Property2>string</Property2> <PropertyName>string</PropertyName> <SortDestination>string</SortDestination> <LevelNo>string</LevelNo> <LevelType>string</LevelType> <LotNo>string</LotNo> <ThoroughfareName>string</ThoroughfareName> <ThoroughfareType>string</ThoroughfareType> <ThoroughfareTypeSuffix>string</ThoroughfareTypeSuffix> <UnitNo>string</UnitNo> <UnitType>string</UnitType> <StreetNumber>string</StreetNumber> <ThoroughfareNo1>int</ThoroughfareNo1> <ThoroughfareNo1Suffix>string</ThoroughfareNo1Suffix> <ThoroughfareNo2>int</ThoroughfareNo2> <ThoroughfareNo2Suffix>string</ThoroughfareNo2Suffix> <POBoxNo>int</POBoxNo> <POBoxNoPrefix>string</POBoxNoPrefix> <POBoxNoSuffix>string</POBoxNoSuffix> <POBoxType>string</POBoxType> <NonAddressData>string</NonAddressData> <CareOfData>string</CareOfData> <OriginalAddressData> <Address1>string</Address1> <Address2>string</Address2> <Address3>string</Address3> <Address4>string</Address4> <Address5>string</Address5> <Address6>string</Address6> <Suburb>string</Suburb> <State>string</State> <PostalCode>string</PostalCode> <Country>string</Country> </OriginalAddressData> <LastError>int</LastError> <LastErrorDescription>string</LastErrorDescription> </ScanAddressResult> </ScanAddressResponse> </soap12:Body> </soap12:Envelope>