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: vghost.bulwarkpestcontrol.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CustomerCommentRequest
<?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>
<CustomerCommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<ActiveOnly>false</ActiveOnly>
<CommentedEndOn>0001-01-01T00:00:00</CommentedEndOn>
<CommentedStartOn>0001-01-01T00:00:00</CommentedStartOn>
<Comments xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
<d2p1:CommentReasons xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d3p1:CustomerCommentReasonDto>
<d3p1:CustomerCommentReasonType_Id>0</d3p1:CustomerCommentReasonType_Id>
<d3p1:CustomerComment_Id>0</d3p1:CustomerComment_Id>
<d3p1:Deleted>false</d3p1:Deleted>
<d3p1:Id>0</d3p1:Id>
<d3p1:ModifiedOn>0001-01-01T00:00:00</d3p1:ModifiedOn>
</d3p1:CustomerCommentReasonDto>
</d2p1:CommentReasons>
<d2p1:CommentedEmployees xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d3p1:CustomerCommentEmployeeDto>
<d3p1:CustomerComment_Id>0</d3p1:CustomerComment_Id>
<d3p1:Deleted>false</d3p1:Deleted>
<d3p1:Employee_Id>0</d3p1:Employee_Id>
<d3p1:Id>0</d3p1:Id>
<d3p1:ModifiedOn>0001-01-01T00:00:00</d3p1:ModifiedOn>
</d3p1:CustomerCommentEmployeeDto>
</d2p1:CommentedEmployees>
<d2p1:Comments xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d3p1:CustomerCommentDto>
<d3p1:AccountNumber>String</d3p1:AccountNumber>
<d3p1:CommentSource_Id>0</d3p1:CommentSource_Id>
<d3p1:CommentUrl>String</d3p1:CommentUrl>
<d3p1:CommentedOn>0001-01-01T00:00:00</d3p1:CommentedOn>
<d3p1:CreatedBy_Id>0</d3p1:CreatedBy_Id>
<d3p1:CreatedOn>0001-01-01T00:00:00</d3p1:CreatedOn>
<d3p1:CustomerCommentType_Id>0</d3p1:CustomerCommentType_Id>
<d3p1:CustomerNote_Id>0</d3p1:CustomerNote_Id>
<d3p1:Customer_Id>0</d3p1:Customer_Id>
<d3p1:Deleted>false</d3p1:Deleted>
<d3p1:Details>String</d3p1:Details>
<d3p1:Id>0</d3p1:Id>
<d3p1:ModifiedOn>0001-01-01T00:00:00</d3p1:ModifiedOn>
<d3p1:Name>String</d3p1:Name>
<d3p1:Office_Id>0</d3p1:Office_Id>
<d3p1:Rating>0</d3p1:Rating>
<d3p1:Stellar>false</d3p1:Stellar>
</d3p1:CustomerCommentDto>
</d2p1:Comments>
</Comments>
<Customer_Id>0</Customer_Id>
<DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d2p1:CustomerCommentDto>
<d2p1:AccountNumber>String</d2p1:AccountNumber>
<d2p1:CommentSource_Id>0</d2p1:CommentSource_Id>
<d2p1:CommentUrl>String</d2p1:CommentUrl>
<d2p1:CommentedOn>0001-01-01T00:00:00</d2p1:CommentedOn>
<d2p1:CreatedBy_Id>0</d2p1:CreatedBy_Id>
<d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
<d2p1:CustomerCommentType_Id>0</d2p1:CustomerCommentType_Id>
<d2p1:CustomerNote_Id>0</d2p1:CustomerNote_Id>
<d2p1:Customer_Id>0</d2p1:Customer_Id>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Details>String</d2p1:Details>
<d2p1:Id>0</d2p1:Id>
<d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
<d2p1:Name>String</d2p1:Name>
<d2p1:Office_Id>0</d2p1:Office_Id>
<d2p1:Rating>0</d2p1:Rating>
<d2p1:Stellar>false</d2p1:Stellar>
</d2p1:CustomerCommentDto>
</DataObj>
<EmployeeDataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d2p1:CustomerCommentEmployeeDto>
<d2p1:CustomerComment_Id>0</d2p1:CustomerComment_Id>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Employee_Id>0</d2p1:Employee_Id>
<d2p1:Id>0</d2p1:Id>
<d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
</d2p1:CustomerCommentEmployeeDto>
</EmployeeDataList>
<Employee_Id>0</Employee_Id>
<Error>String</Error>
<Id>0</Id>
<IsDeleteRequest>false</IsDeleteRequest>
<IsSuccessful>false</IsSuccessful>
<ReasonDataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d2p1:CustomerCommentReasonDto>
<d2p1:CustomerCommentReasonType_Id>0</d2p1:CustomerCommentReasonType_Id>
<d2p1:CustomerComment_Id>0</d2p1:CustomerComment_Id>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Id>0</d2p1:Id>
<d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
</d2p1:CustomerCommentReasonDto>
</ReasonDataList>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
</CustomerCommentRequest>
</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>
<CustomerCommentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack.Vanguard">
<ActiveOnly>false</ActiveOnly>
<CommentedEndOn>0001-01-01T00:00:00</CommentedEndOn>
<CommentedStartOn>0001-01-01T00:00:00</CommentedStartOn>
<Comments xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.UserDto">
<d2p1:CommentReasons xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d3p1:CustomerCommentReasonDto>
<d3p1:CustomerCommentReasonType_Id>0</d3p1:CustomerCommentReasonType_Id>
<d3p1:CustomerComment_Id>0</d3p1:CustomerComment_Id>
<d3p1:Deleted>false</d3p1:Deleted>
<d3p1:Id>0</d3p1:Id>
<d3p1:ModifiedOn>0001-01-01T00:00:00</d3p1:ModifiedOn>
</d3p1:CustomerCommentReasonDto>
</d2p1:CommentReasons>
<d2p1:CommentedEmployees xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d3p1:CustomerCommentEmployeeDto>
<d3p1:CustomerComment_Id>0</d3p1:CustomerComment_Id>
<d3p1:Deleted>false</d3p1:Deleted>
<d3p1:Employee_Id>0</d3p1:Employee_Id>
<d3p1:Id>0</d3p1:Id>
<d3p1:ModifiedOn>0001-01-01T00:00:00</d3p1:ModifiedOn>
</d3p1:CustomerCommentEmployeeDto>
</d2p1:CommentedEmployees>
<d2p1:Comments xmlns:d3p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d3p1:CustomerCommentDto>
<d3p1:AccountNumber>String</d3p1:AccountNumber>
<d3p1:CommentSource_Id>0</d3p1:CommentSource_Id>
<d3p1:CommentUrl>String</d3p1:CommentUrl>
<d3p1:CommentedOn>0001-01-01T00:00:00</d3p1:CommentedOn>
<d3p1:CreatedBy_Id>0</d3p1:CreatedBy_Id>
<d3p1:CreatedOn>0001-01-01T00:00:00</d3p1:CreatedOn>
<d3p1:CustomerCommentType_Id>0</d3p1:CustomerCommentType_Id>
<d3p1:CustomerNote_Id>0</d3p1:CustomerNote_Id>
<d3p1:Customer_Id>0</d3p1:Customer_Id>
<d3p1:Deleted>false</d3p1:Deleted>
<d3p1:Details>String</d3p1:Details>
<d3p1:Id>0</d3p1:Id>
<d3p1:ModifiedOn>0001-01-01T00:00:00</d3p1:ModifiedOn>
<d3p1:Name>String</d3p1:Name>
<d3p1:Office_Id>0</d3p1:Office_Id>
<d3p1:Rating>0</d3p1:Rating>
<d3p1:Stellar>false</d3p1:Stellar>
</d3p1:CustomerCommentDto>
</d2p1:Comments>
</Comments>
<Customer_Id>0</Customer_Id>
<DataObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d2p1:CustomerCommentDto>
<d2p1:AccountNumber>String</d2p1:AccountNumber>
<d2p1:CommentSource_Id>0</d2p1:CommentSource_Id>
<d2p1:CommentUrl>String</d2p1:CommentUrl>
<d2p1:CommentedOn>0001-01-01T00:00:00</d2p1:CommentedOn>
<d2p1:CreatedBy_Id>0</d2p1:CreatedBy_Id>
<d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
<d2p1:CustomerCommentType_Id>0</d2p1:CustomerCommentType_Id>
<d2p1:CustomerNote_Id>0</d2p1:CustomerNote_Id>
<d2p1:Customer_Id>0</d2p1:Customer_Id>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Details>String</d2p1:Details>
<d2p1:Id>0</d2p1:Id>
<d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
<d2p1:Name>String</d2p1:Name>
<d2p1:Office_Id>0</d2p1:Office_Id>
<d2p1:Rating>0</d2p1:Rating>
<d2p1:Stellar>false</d2p1:Stellar>
</d2p1:CustomerCommentDto>
</DataObj>
<EmployeeDataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d2p1:CustomerCommentEmployeeDto>
<d2p1:CustomerComment_Id>0</d2p1:CustomerComment_Id>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Employee_Id>0</d2p1:Employee_Id>
<d2p1:Id>0</d2p1:Id>
<d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
</d2p1:CustomerCommentEmployeeDto>
</EmployeeDataList>
<Employee_Id>0</Employee_Id>
<Error>String</Error>
<Id>0</Id>
<IsDeleteRequest>false</IsDeleteRequest>
<IsSuccessful>false</IsSuccessful>
<ReasonDataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/EntityModel.Vanguard.Dto">
<d2p1:CustomerCommentReasonDto>
<d2p1:CustomerCommentReasonType_Id>0</d2p1:CustomerCommentReasonType_Id>
<d2p1:CustomerComment_Id>0</d2p1:CustomerComment_Id>
<d2p1:Deleted>false</d2p1:Deleted>
<d2p1:Id>0</d2p1:Id>
<d2p1:ModifiedOn>0001-01-01T00:00:00</d2p1:ModifiedOn>
</d2p1:CustomerCommentReasonDto>
</ReasonDataList>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
</CustomerCommentRequest>
</soap:Body>
</soap:Envelope>