To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12
HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Content-Type: text/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>
<BraintreeGetCreditCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<BraintreeGetCreditCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<DisplayOnUI xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">false</DisplayOnUI>
<ErrorNo xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">0</ErrorNo>
<ErrorSource xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">String</ErrorSource>
<Identity xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">0</Identity>
<Message xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">String</Message>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.ApiModels">
<d2p1:CreditCardList>
<d2p1:BraintreeCreditCard>
<d2p1:Bin>String</d2p1:Bin>
<d2p1:CardType>String</d2p1:CardType>
<d2p1:CardholderName>String</d2p1:CardholderName>
<d2p1:ExpiryMonth>String</d2p1:ExpiryMonth>
<d2p1:ExpiryYear>String</d2p1:ExpiryYear>
<d2p1:IsDefault>false</d2p1:IsDefault>
<d2p1:IsExpied>false</d2p1:IsExpied>
<d2p1:IssuingBank>String</d2p1:IssuingBank>
<d2p1:Last4Digits>String</d2p1:Last4Digits>
<d2p1:MaskedNumber>String</d2p1:MaskedNumber>
<d2p1:PaymentMethodToken>String</d2p1:PaymentMethodToken>
</d2p1:BraintreeCreditCard>
</d2p1:CreditCardList>
</Data>
</BraintreeGetCreditCardResponse>
</soap12:Body>
</soap12:Envelope>