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: bootstrapapi.servicestack.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: TwitterDirectMessages
<?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>
<TwitterDirectMessages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SocialBootstrapApi.ServiceInterface">
<MaxId>String</MaxId>
<SinceId>String</SinceId>
<Take>0</Take>
</TwitterDirectMessages>
</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>
<TwitterDirectMessagesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SocialBootstrapApi.ServiceInterface">
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/ChaweetApi.ServiceModel">
<d2p1:DirectMessage>
<d2p1:created_at>String</d2p1:created_at>
<d2p1:id>0</d2p1:id>
<d2p1:recipient>
<d2p1:contributors_enabled>false</d2p1:contributors_enabled>
<d2p1:created_at>String</d2p1:created_at>
<d2p1:description>String</d2p1:description>
<d2p1:favourites_count>0</d2p1:favourites_count>
<d2p1:followers_count>0</d2p1:followers_count>
<d2p1:friends_count>0</d2p1:friends_count>
<d2p1:geo_enabled>false</d2p1:geo_enabled>
<d2p1:id>String</d2p1:id>
<d2p1:lang>String</d2p1:lang>
<d2p1:location>String</d2p1:location>
<d2p1:name>String</d2p1:name>
<d2p1:notifications>false</d2p1:notifications>
<d2p1:profile_background_color>String</d2p1:profile_background_color>
<d2p1:profile_background_image_url>String</d2p1:profile_background_image_url>
<d2p1:profile_background_tile>String</d2p1:profile_background_tile>
<d2p1:profile_image_url>String</d2p1:profile_image_url>
<d2p1:profile_link_color>String</d2p1:profile_link_color>
<d2p1:profile_sidebar_border_color>String</d2p1:profile_sidebar_border_color>
<d2p1:profile_sidebar_fill_color>String</d2p1:profile_sidebar_fill_color>
<d2p1:profile_text_color>String</d2p1:profile_text_color>
<d2p1:profile_use_background_image>String</d2p1:profile_use_background_image>
<d2p1:protected>false</d2p1:protected>
<d2p1:screen_name>String</d2p1:screen_name>
<d2p1:statuses_count>0</d2p1:statuses_count>
<d2p1:time_zone>String</d2p1:time_zone>
<d2p1:url>String</d2p1:url>
<d2p1:utc_offset>String</d2p1:utc_offset>
<d2p1:verified>false</d2p1:verified>
</d2p1:recipient>
<d2p1:recipient_id>0</d2p1:recipient_id>
<d2p1:recipient_screen_name>String</d2p1:recipient_screen_name>
<d2p1:sender>
<d2p1:contributors_enabled>false</d2p1:contributors_enabled>
<d2p1:created_at>String</d2p1:created_at>
<d2p1:description>String</d2p1:description>
<d2p1:favourites_count>0</d2p1:favourites_count>
<d2p1:followers_count>0</d2p1:followers_count>
<d2p1:friends_count>0</d2p1:friends_count>
<d2p1:geo_enabled>false</d2p1:geo_enabled>
<d2p1:id>String</d2p1:id>
<d2p1:lang>String</d2p1:lang>
<d2p1:location>String</d2p1:location>
<d2p1:name>String</d2p1:name>
<d2p1:notifications>false</d2p1:notifications>
<d2p1:profile_background_color>String</d2p1:profile_background_color>
<d2p1:profile_background_image_url>String</d2p1:profile_background_image_url>
<d2p1:profile_background_tile>String</d2p1:profile_background_tile>
<d2p1:profile_image_url>String</d2p1:profile_image_url>
<d2p1:profile_link_color>String</d2p1:profile_link_color>
<d2p1:profile_sidebar_border_color>String</d2p1:profile_sidebar_border_color>
<d2p1:profile_sidebar_fill_color>String</d2p1:profile_sidebar_fill_color>
<d2p1:profile_text_color>String</d2p1:profile_text_color>
<d2p1:profile_use_background_image>String</d2p1:profile_use_background_image>
<d2p1:protected>false</d2p1:protected>
<d2p1:screen_name>String</d2p1:screen_name>
<d2p1:statuses_count>0</d2p1:statuses_count>
<d2p1:time_zone>String</d2p1:time_zone>
<d2p1:url>String</d2p1:url>
<d2p1:utc_offset>String</d2p1:utc_offset>
<d2p1:verified>false</d2p1:verified>
</d2p1:sender>
<d2p1:sender_id>0</d2p1:sender_id>
<d2p1:sender_screen_name>String</d2p1:sender_screen_name>
<d2p1:text>String</d2p1:text>
</d2p1:DirectMessage>
</Results>
</TwitterDirectMessagesResponse>
</soap:Body>
</soap:Envelope>