To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11
HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: www.bernhardthospitality.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: LookupZipcode
<?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>
<LookupZipcode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.SmartyStreets">
<Zipcode>String</Zipcode>
</LookupZipcode>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartyStreets.USZipCodeApi">
<city_states>
<CityEntry>
<city>String</city>
<mailable_city>false</mailable_city>
<state>String</state>
<state_abbreviation>String</state_abbreviation>
</CityEntry>
</city_states>
<input_id>String</input_id>
<input_index>0</input_index>
<reason>String</reason>
<status>String</status>
<zipcodes>
<ZipCodeEntry>
<alternate_counties>
<AlternateCounty>
<county_fips>String</county_fips>
<county_name>String</county_name>
<state>String</state>
<state_abbreviation>String</state_abbreviation>
</AlternateCounty>
</alternate_counties>
<county_fips>String</county_fips>
<county_name>String</county_name>
<default_city>String</default_city>
<latitude>0</latitude>
<longitude>0</longitude>
<precision>String</precision>
<state>String</state>
<state_abbreviation>String</state_abbreviation>
<zipcode>String</zipcode>
<zipcode_type>String</zipcode_type>
</ZipCodeEntry>
</zipcodes>
</Result>
</soap:Body>
</soap:Envelope>