EcommService
Click here for a complete list of operations.
InsertCarEntry
chamna
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /EcommService.asmx HTTP/1.1 Host: ecommws.dreamingcode.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/ecomm_ws/Service1/InsertCarEntry" <?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> <InsertCarEntry xmlns="http://tempuri.org/ecomm_ws/Service1"> <TypeId>int</TypeId> <makeID>int</makeID> <modelID>int</modelID> <year>string</year> <price>double</price> <Mileage>string</Mileage> <extcolor>int</extcolor> <engine>int</engine> <VIN>string</VIN> <description>string</description> <Liters>double</Liters> <Cylinders>int</Cylinders> <name>string</name> <Address>string</Address> <City>string</City> <State>string</State> <zip>string</zip> <email>string</email> <homephone>string</homephone> <workphone>string</workphone> <StockNo>string</StockNo> <Trim>string</Trim> <ModelNo>string</ModelNo> <EngineSize>string</EngineSize> <IntColor>int</IntColor> <AskingPrice>double</AskingPrice> <TransmissionID>int</TransmissionID> <DoorID>int</DoorID> <BodyTypeId>int</BodyTypeId> <Active>string</Active> <Deleted>string</Deleted> <SystemClientID>int</SystemClientID> </InsertCarEntry> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 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> <InsertCarEntryResponse xmlns="http://tempuri.org/ecomm_ws/Service1"> <InsertCarEntryResult>int</InsertCarEntryResult> </InsertCarEntryResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /EcommService.asmx HTTP/1.1 Host: ecommws.dreamingcode.com Content-Type: application/soap+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> <InsertCarEntry xmlns="http://tempuri.org/ecomm_ws/Service1"> <TypeId>int</TypeId> <makeID>int</makeID> <modelID>int</modelID> <year>string</year> <price>double</price> <Mileage>string</Mileage> <extcolor>int</extcolor> <engine>int</engine> <VIN>string</VIN> <description>string</description> <Liters>double</Liters> <Cylinders>int</Cylinders> <name>string</name> <Address>string</Address> <City>string</City> <State>string</State> <zip>string</zip> <email>string</email> <homephone>string</homephone> <workphone>string</workphone> <StockNo>string</StockNo> <Trim>string</Trim> <ModelNo>string</ModelNo> <EngineSize>string</EngineSize> <IntColor>int</IntColor> <AskingPrice>double</AskingPrice> <TransmissionID>int</TransmissionID> <DoorID>int</DoorID> <BodyTypeId>int</BodyTypeId> <Active>string</Active> <Deleted>string</Deleted> <SystemClientID>int</SystemClientID> </InsertCarEntry> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+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> <InsertCarEntryResponse xmlns="http://tempuri.org/ecomm_ws/Service1"> <InsertCarEntryResult>int</InsertCarEntryResult> </InsertCarEntryResponse> </soap12:Body> </soap12:Envelope>