SOAP API

API Documents

									
									<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																			<x:Header/>
																			<x:Body>
																				<urn1:getProducts/>
																			</x:Body>
																		</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
											<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:index">
												<SOAP-ENV:Body>
													<ns1:getProductsResponse xmlns:ns1="urn:QRWebService">
														<productListResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:product[7]">
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">1</id>
																<product_name xsi:type="xsd:string">Test Soap Api</product_name>
																<category_name xsi:type="xsd:string">Watches</category_name>
																<price xsi:type="xsd:int">123456.00</price>
																<category_id xsi:type="xsd:int">1</category_id>
																<image xsi:type="xsd:string">https://rukminim1.flixcart.com/image/832/832/ji95yfk0/watch/h/4/w/lcs-8069-lois-caron-original-imaf636yggzthz5y.jpeg?q=70</image>
																<description xsi:type="xsd:string">This is test soap api</description>
															</item>
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">2</id>
																<product_name xsi:type="xsd:string">Deals4you Running Shoes For Men  (Blue)</product_name>
																<category_name xsi:type="xsd:string">Shoes</category_name>
																<price xsi:type="xsd:int">382.00</price>
																<category_id xsi:type="xsd:int">2</category_id>
																<image xsi:type="xsd:string">https://rukminim1.flixcart.com/image/832/832/jiulk7k0/shoe/h/e/u/multi-net-8-deals4you-blue-original-imaf6jsd5c8zzhvu.jpeg?q=70</image>
																<description xsi:type="xsd:string">440 g (per single Shoe) - Weight of the product may vary depending on size.</description>
															</item>
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">4</id>
																<product_name xsi:type="xsd:string">Lois Caron LCS-8069 BLUE DIAL DAY &amp; DATE FUNCTIONING Watch - For Men</product_name>
																<category_name xsi:type="xsd:string">Watches</category_name>
																<price xsi:type="xsd:int">379.00</price>
																<category_id xsi:type="xsd:int">1</category_id>
																<image xsi:type="xsd:string">https://rukminim1.flixcart.com/image/832/832/ji95yfk0/watch/h/4/w/lcs-8069-lois-caron-original-imaf636yggzthz5y.jpeg?q=70</image>
																<description xsi:type="xsd:string">Lois Caron LCS-8069 BLUE DIAL DAY </description>
															</item>
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">5</id>
																<product_name xsi:type="xsd:string">Lois Caron LCS-8069 BLUE DIAL DAY</product_name>
																<category_name xsi:type="xsd:string">Watches</category_name>
																<price xsi:type="xsd:int">379.00</price>
																<category_id xsi:type="xsd:int">1</category_id>
																<image xsi:type="xsd:string">https://rukminim1.flixcart.com/image/832/832/ji95yfk0/watch/h/4/w/lcs-8069-lois-caron-original-imaf636yggzthz5y.jpeg?q=70</image>
																<description xsi:type="xsd:string">DAY &amp; DATE &amp; TIME, DAY &amp; DATE, DAY &amp; DATE FUNCTIONING, DATE DISPLAY, DAY DISPLAY</description>
															</item>
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">8</id>
																<product_name xsi:type="xsd:string">Cricket Bat</product_name>
																<category_name xsi:type="xsd:string">Shoes</category_name>
																<price xsi:type="xsd:int">100.00</price>
																<category_id xsi:type="xsd:int">2</category_id>
																<image xsi:type="xsd:string">https://www.google.co.in/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=imgres&amp;cd=&amp;ved=2ahUKEwiZsfmYxZHcAhUXbo8KHZfJADMQjRx6BAgBEAU&amp;url=https%3A%2F%2Fwww.khelmart.com%2FCricket%2Fitems%2FSG-Cricket-Bat-English-VS-319-Xtreme.aspx&amp;psig=AOvVaw2zoCUOjdzFkIiJsxhsl7xc&amp;ust=153</image>
																<description xsi:type="xsd:string">Teak Wood Bat</description>
															</item>
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">11</id>
																<product_name xsi:type="xsd:string">RADO</product_name>
																<category_name xsi:type="xsd:string">Watches</category_name>
																<price xsi:type="xsd:int">100000.00</price>
																<category_id xsi:type="xsd:int">1</category_id>
																<image xsi:type="xsd:string"></image>
																<description xsi:type="xsd:string">Expensive Watch</description>
															</item>
															<item xsi:type="tns:product">
																<id xsi:type="xsd:int">12</id>
																<product_name xsi:type="xsd:string">Addidas</product_name>
																<category_name xsi:type="xsd:string">Shoes</category_name>
																<price xsi:type="xsd:int">3000.00</price>
																<category_id xsi:type="xsd:int">2</category_id>
																<image xsi:type="xsd:string"></image>
																<description xsi:type="xsd:string">Nice And Daily User products</description>
															</item>
														</productListResult>
													</ns1:getProductsResponse>
												</SOAP-ENV:Body>
											</SOAP-ENV:Envelope>
									
								
									
										<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																					<x:Header/>
																					<x:Body>
																						<urn1:getCategory/>
																					</x:Body>
																				</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
										<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:index">
											<SOAP-ENV:Body>
												<ns1:getCategoryResponse xmlns:ns1="urn:QRWebService">
													<categoryListResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:category[2]">
														<item xsi:type="tns:category">
															<id xsi:type="xsd:int">1</id>
															<category_name xsi:type="xsd:string">Watches</category_name>
														</item>
														<item xsi:type="tns:category">
															<id xsi:type="xsd:int">2</id>
															<category_name xsi:type="xsd:string">Shoes</category_name>
														</item>
													</categoryListResult>
												</ns1:getCategoryResponse>
											</SOAP-ENV:Body>
										</SOAP-ENV:Envelope>
									
								
									
										<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																					<x:Header/>
																					<x:Body>
																						<urn1:getCategoryProduct>
																							<urn1:cat_id>2</urn1:cat_id>
																						</urn1:getCategoryProduct>
																					</x:Body>
																				</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
										<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:index">
											<SOAP-ENV:Body>
												<ns1:getCategoryProductResponse xmlns:ns1="urn:QRWebService">
													<categoryProductListResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:categoryproduct[3]">
														<item xsi:type="tns:categoryproduct">
															<id xsi:type="xsd:int">2</id>
															<product_name xsi:type="xsd:string">Deals4you Running Shoes For Men  (Blue)</product_name>
															<category_name xsi:type="xsd:string">Shoes</category_name>
															<price xsi:type="xsd:int">382.00</price>
															<category_id xsi:type="xsd:int">2</category_id>
															<image xsi:type="xsd:string">https://rukminim1.flixcart.com/image/832/832/jiulk7k0/shoe/h/e/u/multi-net-8-deals4you-blue-original-imaf6jsd5c8zzhvu.jpeg?q=70</image>
															<description xsi:type="xsd:string">440 g (per single Shoe) - Weight of the product may vary depending on size.</description>
														</item>
														<item xsi:type="tns:categoryproduct">
															<id xsi:type="xsd:int">8</id>
															<product_name xsi:type="xsd:string">Cricket Bat</product_name>
															<category_name xsi:type="xsd:string">Shoes</category_name>
															<price xsi:type="xsd:int">100.00</price>
															<category_id xsi:type="xsd:int">2</category_id>
															<image xsi:type="xsd:string">https://www.google.co.in/url?sa=i&amp;rct=j&amp;q=&amp;esrc=s&amp;source=imgres&amp;cd=&amp;ved=2ahUKEwiZsfmYxZHcAhUXbo8KHZfJADMQjRx6BAgBEAU&amp;url=https%3A%2F%2Fwww.khelmart.com%2FCricket%2Fitems%2FSG-Cricket-Bat-English-VS-319-Xtreme.aspx&amp;psig=AOvVaw2zoCUOjdzFkIiJsxhsl7xc&amp;ust=153</image>
															<description xsi:type="xsd:string">Teak Wood Bat</description>
														</item>
														<item xsi:type="tns:categoryproduct">
															<id xsi:type="xsd:int">12</id>
															<product_name xsi:type="xsd:string">Addidas</product_name>
															<category_name xsi:type="xsd:string">Shoes</category_name>
															<price xsi:type="xsd:int">3000.00</price>
															<category_id xsi:type="xsd:int">2</category_id>
															<image xsi:type="xsd:string"></image>
															<description xsi:type="xsd:string">Nice And Daily User products</description>
														</item>
													</categoryProductListResult>
												</ns1:getCategoryProductResponse>
											</SOAP-ENV:Body>
										</SOAP-ENV:Envelope>
									
								
									
										<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																					<x:Header/>
																					<x:Body>
																						<urn1:addProduct>
																							<urn1:product_name>Pencil</urn1:product_name>
																							<urn1:category_id>1</urn1:category_id>
																							<urn1:image>adada</urn1:image>
																							<urn1:price>10</urn1:price>
																							<urn1:description>Apsara dark pencil</urn1:description>
																						</urn1:addProduct>
																					</x:Body>
																				</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
										<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
											<SOAP-ENV:Body>
												<ns1:addProductResponse xmlns:ns1="urn:QRWebService">
													<return xsi:type="xsd:string">ADD</return>
												</ns1:addProductResponse>
											</SOAP-ENV:Body>
										</SOAP-ENV:Envelope>
									
								
									
										<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																					<x:Header/>
																					<x:Body>
																						<urn1:updateProduct>
																							<urn1:id>13</urn1:id>
																							<urn1:product_name>Apsara pnecil</urn1:product_name>
																							<urn1:category_id>1</urn1:category_id>
																							<urn1:image>hghsdgfsdh</urn1:image>
																							<urn1:price>12</urn1:price>
																							<urn1:description>This is test soap api</urn1:description>
																						</urn1:updateProduct>
																					</x:Body>
																				</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
										<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
											<SOAP-ENV:Body>
												<ns1:updateProductResponse xmlns:ns1="urn:QRWebService">
													<return xsi:type="xsd:string">UPDATED</return>
												</ns1:updateProductResponse>
											</SOAP-ENV:Body>
										</SOAP-ENV:Envelope>
									
								
									
										<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																					<x:Header/>
																					<x:Body>
																						<urn1:deleteProductById>
																							<urn1:product_id>13</urn1:product_id>
																						</urn1:deleteProductById>
																					</x:Body>
																				</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
										<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
											<SOAP-ENV:Body>
												<ns1:deleteProductByIdResponse xmlns:ns1="urn:QRWebService">
													<return xsi:type="xsd:string">Array</return>
												</ns1:deleteProductByIdResponse>
											</SOAP-ENV:Body>
										</SOAP-ENV:Envelope>
									
								
									
										<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn1="urn:QRWebService">
																					<x:Header/>
																					<x:Body>
																						<urn1:deleteCategoryById>
																							<urn1:category_id>4</urn1:category_id>
																						</urn1:deleteCategoryById>
																					</x:Body>
																				</x:Envelope>
									
								
									
										<?xml version="1.0" encoding="ISO-8859-1"?>
										<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
											<SOAP-ENV:Body>
												<ns1:deleteCategoryByIdResponse xmlns:ns1="urn:QRWebService">
													<return xsi:type="xsd:string">Array</return>
												</ns1:deleteCategoryByIdResponse>
											</SOAP-ENV:Body>
										</SOAP-ENV:Envelope>