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: bookinglogin.hart-worldwide.com
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>
<RouteListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
<PageIndex>0</PageIndex>
<PageSize>0</PageSize>
<CostStatus>0</CostStatus>
<DriverID>String</DriverID>
<EndAddress>String</EndAddress>
<EndTime>String</EndTime>
<FleetId>0</FleetId>
<RouteID>String</RouteID>
<SJLicenseNumber>String</SJLicenseNumber>
<SJPhoneNumber>String</SJPhoneNumber>
<SJUserName>String</SJUserName>
<StartAddress>String</StartAddress>
<StartTime>String</StartTime>
<Status>0</Status>
<WarehouseCode>String</WarehouseCode>
</RouteListRequest>
</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>
<RouteListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
<ErrorCode>0</ErrorCode>
<ErrorMsg>String</ErrorMsg>
<PageIndex>0</PageIndex>
<PageSize>0</PageSize>
<RowCount>0</RowCount>
<RouteModels>
<RouteInfo>
<ActualEndDT>0001-01-01T00:00:00</ActualEndDT>
<BasicCostRemark>String</BasicCostRemark>
<CostStatus>0</CostStatus>
<CreateBy>String</CreateBy>
<CreateDT>0001-01-01T00:00:00</CreateDT>
<EndAddress>String</EndAddress>
<EndDT>0001-01-01T00:00:00</EndDT>
<EndWarehouseCode>String</EndWarehouseCode>
<FileStatus>0</FileStatus>
<ID>0</ID>
<IsOutside>0</IsOutside>
<LicenseNumber>String</LicenseNumber>
<PhoneNumber>String</PhoneNumber>
<Remarks>String</Remarks>
<RouteID>String</RouteID>
<StartAddress>String</StartAddress>
<StartDT>0001-01-01T00:00:00</StartDT>
<Status>0</Status>
<TakeTime>0001-01-01T00:00:00</TakeTime>
<UserName>String</UserName>
</RouteInfo>
</RouteModels>
</RouteListResponse>
</soap12:Body>
</soap12:Envelope>