Postman1
Click here for a complete list of operations.
ScanAddress2
Simpler version of ScanAddress, allows mode settings to be passed directly.
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/ScanAddress2" <?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> <ScanAddress2 xmlns="http://www.dmsw.com.au/"> <sessionID>string</sessionID> <address1>string</address1> <address2>string</address2> <address3>string</address3> <suburb>string</suburb> <state>string</state> <postcode>string</postcode> <mixedCase>boolean</mixedCase> <ExpandAbbreviations>boolean</ExpandAbbreviations> </ScanAddress2> </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> <ScanAddress2Response xmlns="http://www.dmsw.com.au/"> <ScanAddress2Result> <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> </ScanAddress2Result> </ScanAddress2Response> </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> <ScanAddress2 xmlns="http://www.dmsw.com.au/"> <sessionID>string</sessionID> <address1>string</address1> <address2>string</address2> <address3>string</address3> <suburb>string</suburb> <state>string</state> <postcode>string</postcode> <mixedCase>boolean</mixedCase> <ExpandAbbreviations>boolean</ExpandAbbreviations> </ScanAddress2> </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> <ScanAddress2Response xmlns="http://www.dmsw.com.au/"> <ScanAddress2Result> <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> </ScanAddress2Result> </ScanAddress2Response> </soap12:Body> </soap12:Envelope>