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: QueryCartItems
<?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>
<QueryCartItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
<Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
<Include xmlns="http://schemas.servicestack.net/types">String</Include>
<Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Meta>
<OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
<OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
<Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
<Take xmlns="http://schemas.servicestack.net/types">0</Take>
<CartId>String</CartId>
<Search>String</Search>
</QueryCartItems>
</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>
<QueryResponseOfCartItemuJ_SpfPwd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<Offset>0</Offset>
<Total>0</Total>
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun.Shopping">
<d2p1:CartItem>
<d2p1:AddItemPath>String</d2p1:AddItemPath>
<d2p1:BrandId>String</d2p1:BrandId>
<d2p1:CampaignId>String</d2p1:CampaignId>
<d2p1:CanModify>false</d2p1:CanModify>
<d2p1:CancelOn>0001-01-01T00:00:00</d2p1:CancelOn>
<d2p1:CartId>String</d2p1:CartId>
<d2p1:Category>String</d2p1:Category>
<d2p1:Comments>String</d2p1:Comments>
<d2p1:Cost>String</d2p1:Cost>
<d2p1:Custom1>String</d2p1:Custom1>
<d2p1:Custom10>String</d2p1:Custom10>
<d2p1:Custom11>String</d2p1:Custom11>
<d2p1:Custom13>String</d2p1:Custom13>
<d2p1:Custom2>String</d2p1:Custom2>
<d2p1:Custom3>String</d2p1:Custom3>
<d2p1:Custom4>String</d2p1:Custom4>
<d2p1:Custom5>String</d2p1:Custom5>
<d2p1:Custom6>String</d2p1:Custom6>
<d2p1:Custom7>String</d2p1:Custom7>
<d2p1:Custom8>String</d2p1:Custom8>
<d2p1:Custom9>String</d2p1:Custom9>
<d2p1:CustomerLineLevelQty>0</d2p1:CustomerLineLevelQty>
<d2p1:Description>String</d2p1:Description>
<d2p1:DiscountPercentage>0</d2p1:DiscountPercentage>
<d2p1:ExtendedTotal>0</d2p1:ExtendedTotal>
<d2p1:FromSplit>false</d2p1:FromSplit>
<d2p1:IsContractPrice>false</d2p1:IsContractPrice>
<d2p1:IsKitComponent>false</d2p1:IsKitComponent>
<d2p1:LineDiscount>0</d2p1:LineDiscount>
<d2p1:LineOrderDiscount>0</d2p1:LineOrderDiscount>
<d2p1:ListPrice>0</d2p1:ListPrice>
<d2p1:ManufacturerNumber>String</d2p1:ManufacturerNumber>
<d2p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value>String</d4p1:Value>
</d4p1:KeyValueOfstringstring>
</d2p1:Meta>
<d2p1:NextFulfillment>String</d2p1:NextFulfillment>
<d2p1:Note i:nil="true" />
<d2p1:Notes>String</d2p1:Notes>
<d2p1:OpenExtendedTotal>0</d2p1:OpenExtendedTotal>
<d2p1:OpenTotal>0</d2p1:OpenTotal>
<d2p1:OptionGroupList>String</d2p1:OptionGroupList>
<d2p1:Options />
<d2p1:OrderNotes>String</d2p1:OrderNotes>
<d2p1:OrigQty>0</d2p1:OrigQty>
<d2p1:ParentPosition>0</d2p1:ParentPosition>
<d2p1:PaymentTermsId>String</d2p1:PaymentTermsId>
<d2p1:Points>0</d2p1:Points>
<d2p1:Position>0</d2p1:Position>
<d2p1:Price>0</d2p1:Price>
<d2p1:PriceListId>String</d2p1:PriceListId>
<d2p1:PriceOverride>0</d2p1:PriceOverride>
<d2p1:Product xmlns:d4p1="http://schemas.datacontract.org/2004/07/Emun.Products">
<Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
<d4p1:AltDescription>String</d4p1:AltDescription>
<d4p1:AsShownValues>
<d4p1:OptionPrebuilt.FieldValue>
<d4p1:CustomText>String</d4p1:CustomText>
<d4p1:FieldId>String</d4p1:FieldId>
<d4p1:ValueId>String</d4p1:ValueId>
</d4p1:OptionPrebuilt.FieldValue>
</d4p1:AsShownValues>
<d4p1:AvailableOn>0001-01-01T00:00:00</d4p1:AvailableOn>
<d4p1:AvailableQty>0</d4p1:AvailableQty>
<d4p1:CasePrice>0</d4p1:CasePrice>
<d4p1:CaseQty>0</d4p1:CaseQty>
<d4p1:Category>
<Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
<d4p1:Label>String</d4p1:Label>
</d4p1:Category>
<d4p1:CategoryId>String</d4p1:CategoryId>
<d4p1:Cost>0</d4p1:Cost>
<d4p1:CreatedOn>0001-01-01T00:00:00</d4p1:CreatedOn>
<d4p1:CubicVolume>0</d4p1:CubicVolume>
<d4p1:Custom9>String</d4p1:Custom9>
<d4p1:EnforceMinimum>false</d4p1:EnforceMinimum>
<d4p1:Featured>0</d4p1:Featured>
<d4p1:GenericTags xmlns:d5p1="http://schemas.datacontract.org/2004/07/Emun.Tags">
<d5p1:Tag>
<d5p1:CreatedBy>String</d5p1:CreatedBy>
<d5p1:CreatedOn>0001-01-01T00:00:00</d5p1:CreatedOn>
<d5p1:Exported>false</d5p1:Exported>
<d5p1:Generated>false</d5p1:Generated>
<d5p1:LastModifiedBy>String</d5p1:LastModifiedBy>
<d5p1:LastModifiedOn>0001-01-01T00:00:00</d5p1:LastModifiedOn>
<d5p1:Position>0</d5p1:Position>
<d5p1:Id>1312561414.1312561</d5p1:Id>
<d5p1:ParentTagKind>String</d5p1:ParentTagKind>
<d5p1:ParentTagLabel>String</d5p1:ParentTagLabel>
<d5p1:PrincipalId>String</d5p1:PrincipalId>
<d5p1:Shard>String</d5p1:Shard>
<d5p1:TagKind>String</d5p1:TagKind>
<d5p1:TagLabel>String</d5p1:TagLabel>
</d5p1:Tag>
</d4p1:GenericTags>
<d4p1:Height>0</d4p1:Height>
<d4p1:ImageUrl>String</d4p1:ImageUrl>
<d4p1:IncomingQty>0</d4p1:IncomingQty>
<d4p1:IsB2B>false</d4p1:IsB2B>
<d4p1:IsB2C>false</d4p1:IsB2C>
<d4p1:IsDealerVisible>false</d4p1:IsDealerVisible>
<d4p1:IsKitEditable>false</d4p1:IsKitEditable>
<d4p1:IsKitExplode>false</d4p1:IsKitExplode>
<d4p1:IsNew>false</d4p1:IsNew>
<d4p1:IsNonDiscountable>false</d4p1:IsNonDiscountable>
<d4p1:IsRestricted>false</d4p1:IsRestricted>
<d4p1:IsSellable>false</d4p1:IsSellable>
<d4p1:ItemType>String</d4p1:ItemType>
<d4p1:Keywords>String</d4p1:Keywords>
<d4p1:Length>0</d4p1:Length>
<d4p1:Likes>1</d4p1:Likes>
<d4p1:ListPrice>0</d4p1:ListPrice>
<d4p1:LongDescription>String</d4p1:LongDescription>
<d4p1:MainFeatured>0</d4p1:MainFeatured>
<d4p1:ManufacturerNumber>String</d4p1:ManufacturerNumber>
<d4p1:MaxNumLines>0</d4p1:MaxNumLines>
<d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d4p1:Meta>
<d4p1:MinimumOrderQty>0</d4p1:MinimumOrderQty>
<d4p1:OnDemandProductEuid>String</d4p1:OnDemandProductEuid>
<d4p1:OptionGroup>String</d4p1:OptionGroup>
<d4p1:OptionGroupList>String</d4p1:OptionGroupList>
<d4p1:Points>0</d4p1:Points>
<d4p1:Pricing xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d4p1:ProductImages>
<d4p1:ProductImage>
<d4p1:CreatedOn>0001-01-01T00:00:00</d4p1:CreatedOn>
<d4p1:Position>0</d4p1:Position>
<d4p1:ProductId>String</d4p1:ProductId>
</d4p1:ProductImage>
</d4p1:ProductImages>
<d4p1:ProductLineId>String</d4p1:ProductLineId>
<d4p1:PurchaseIncrement>0</d4p1:PurchaseIncrement>
<d4p1:RetailListPrice>0</d4p1:RetailListPrice>
<d4p1:RetailPrice>0</d4p1:RetailPrice>
<d4p1:ShipOn>0001-01-01T00:00:00</d4p1:ShipOn>
<d4p1:ShortDescription>String</d4p1:ShortDescription>
<d4p1:Status>String</d4p1:Status>
<d4p1:SubCategory>String</d4p1:SubCategory>
<d4p1:SuperCategory>String</d4p1:SuperCategory>
<d4p1:Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringArrayOfstringty7Ep6D1>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>
<d5p1:string>String</d5p1:string>
</d5p1:Value>
</d5p1:KeyValueOfstringArrayOfstringty7Ep6D1>
</d4p1:Tags>
<d4p1:UOM>String</d4p1:UOM>
<d4p1:UnitsAllocated>0</d4p1:UnitsAllocated>
<d4p1:UnitsInStock>0</d4p1:UnitsInStock>
<d4p1:UpcCode>String</d4p1:UpcCode>
<d4p1:Vendor xmlns:d5p1="http://schemas.datacontract.org/2004/07/Emun.Vendors">
<Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
<d5p1:Abbreviation>String</d5p1:Abbreviation>
<d5p1:Active>false</d5p1:Active>
<d5p1:Address>String</d5p1:Address>
<d5p1:AllowBackorders>false</d5p1:AllowBackorders>
<d5p1:AllowDiscounts>false</d5p1:AllowDiscounts>
<d5p1:AllowManualItemEntry>false</d5p1:AllowManualItemEntry>
<d5p1:AllowPriceOverride>false</d5p1:AllowPriceOverride>
<d5p1:City>String</d5p1:City>
<d5p1:CommissionPercent>0</d5p1:CommissionPercent>
<d5p1:CustomerNumber>String</d5p1:CustomerNumber>
<d5p1:DecryptCCOnExport>false</d5p1:DecryptCCOnExport>
<d5p1:DefaultShipDatePrevious>false</d5p1:DefaultShipDatePrevious>
<d5p1:Email>String</d5p1:Email>
<d5p1:EmailOrders>false</d5p1:EmailOrders>
<d5p1:EmailUrlToExport>false</d5p1:EmailUrlToExport>
<d5p1:EnforceMinimums>false</d5p1:EnforceMinimums>
<d5p1:EnforcePurchaseIncrement>false</d5p1:EnforcePurchaseIncrement>
<d5p1:ExportOrders>false</d5p1:ExportOrders>
<d5p1:ExportReviewOrders>false</d5p1:ExportReviewOrders>
<d5p1:Fax>String</d5p1:Fax>
<d5p1:IncludeInBatch>false</d5p1:IncludeInBatch>
<d5p1:IsInvoiceOnly>false</d5p1:IsInvoiceOnly>
<d5p1:IsShowroomVendor>false</d5p1:IsShowroomVendor>
<d5p1:Label>String</d5p1:Label>
<d5p1:LastLoginAttempt>0001-01-01T00:00:00</d5p1:LastLoginAttempt>
<d5p1:LastOrderedOn>0001-01-01T00:00:00</d5p1:LastOrderedOn>
<d5p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringstring>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>String</d6p1:Value>
</d6p1:KeyValueOfstringstring>
</d5p1:Meta>
<d5p1:MinimumBalance>0</d5p1:MinimumBalance>
<d5p1:Note>String</d5p1:Note>
<d5p1:OrderMinimum>0</d5p1:OrderMinimum>
<d5p1:OrderTagLine>String</d5p1:OrderTagLine>
<d5p1:Phone>String</d5p1:Phone>
<d5p1:ProductTags>
<d5p1:VendorProductTag>
<Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
<d5p1:Tag>String</d5p1:Tag>
</d5p1:VendorProductTag>
</d5p1:ProductTags>
<d5p1:ReOrderMinimum>0</d5p1:ReOrderMinimum>
<d5p1:RequireCreditSheet>false</d5p1:RequireCreditSheet>
<d5p1:Settings>
<d5p1:VendorSetting>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
<d5p1:VendorId>String</d5p1:VendorId>
</d5p1:VendorSetting>
</d5p1:Settings>
<d5p1:SplitByProductLine>false</d5p1:SplitByProductLine>
<d5p1:State>String</d5p1:State>
<d5p1:Tags xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringArrayOfstringty7Ep6D1>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>
<d6p1:string>String</d6p1:string>
</d6p1:Value>
</d6p1:KeyValueOfstringArrayOfstringty7Ep6D1>
</d5p1:Tags>
<d5p1:UseVendorCustId>false</d5p1:UseVendorCustId>
<d5p1:UseVendorShipId>false</d5p1:UseVendorShipId>
<d5p1:UseVendorTerms>false</d5p1:UseVendorTerms>
<d5p1:VendorName>String</d5p1:VendorName>
<d5p1:Website>String</d5p1:Website>
<d5p1:Zip>String</d5p1:Zip>
</d4p1:Vendor>
<d4p1:VendorId>String</d4p1:VendorId>
<d4p1:Warehouse>String</d4p1:Warehouse>
<d4p1:Weight>0</d4p1:Weight>
<d4p1:WholesalePrice>0</d4p1:WholesalePrice>
<d4p1:Width>0</d4p1:Width>
</d2p1:Product>
<d2p1:ProductId>String</d2p1:ProductId>
<d2p1:ProductLineId>String</d2p1:ProductLineId>
<d2p1:PromoCode>String</d2p1:PromoCode>
<d2p1:PromoCode2>String</d2p1:PromoCode2>
<d2p1:PromoNote>String</d2p1:PromoNote>
<d2p1:PurchaseOrder>String</d2p1:PurchaseOrder>
<d2p1:QtyAdjusted>false</d2p1:QtyAdjusted>
<d2p1:QtyCustom1>0</d2p1:QtyCustom1>
<d2p1:QtyCustom2>0</d2p1:QtyCustom2>
<d2p1:QtyOpen>0</d2p1:QtyOpen>
<d2p1:QtyPurchased>0</d2p1:QtyPurchased>
<d2p1:QtyShipped>0</d2p1:QtyShipped>
<d2p1:ReasonCode>String</d2p1:ReasonCode>
<d2p1:SalesRepId>String</d2p1:SalesRepId>
<d2p1:ShipOn i:nil="true" />
<d2p1:ShippedExtendedTotal>0</d2p1:ShippedExtendedTotal>
<d2p1:ShippedTotal>0</d2p1:ShippedTotal>
<d2p1:ShippingMethodId>String</d2p1:ShippingMethodId>
<d2p1:Status>String</d2p1:Status>
<d2p1:SubCategory>String</d2p1:SubCategory>
<d2p1:SuperCategory>String</d2p1:SuperCategory>
<d2p1:TagFor>String</d2p1:TagFor>
<d2p1:TrackingNumbers>String</d2p1:TrackingNumbers>
<d2p1:UOM>String</d2p1:UOM>
<d2p1:UPC>String</d2p1:UPC>
<d2p1:esaDate>0001-01-01T00:00:00</d2p1:esaDate>
</d2p1:CartItem>
</Results>
<Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Meta>
<ResponseStatus>
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
<Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</Meta>
</ResponseError>
</Errors>
<Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</Meta>
</ResponseStatus>
</QueryResponseOfCartItemuJ_SpfPwd>
</soap:Body>
</soap:Envelope>