BarCodeWebService
Click here for a complete list of operations.
QRCode
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 /bcdgen.asmx HTTP/1.1 Host: barcode.barcodesoft.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.barcodesoft.com/qrcode.aspx" <?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> <QRCode xmlns="http://www.barcodesoft.com/"> <textToEncode>string</textToEncode> <EccLevel>L07 or M15 or Q25 or H30</EccLevel> <QRCodeFormat>AutoSelect or _21x21 or _25x25 or _29x29 or _33x33 or _37x37 or _41x41 or _45x45 or _49x49 or _53x53 or _57x57 or _61x61 or _65x65 or _69x69 or _73x73 or _77x77 or _81x81 or _85x85 or _89x89 or _93x93 or _97x97 or _101x101 or _105x105 or _109x109 or _113x113 or _117x117 or _121x121 or _125x125 or _129x129 or _133x133 or _137x137 or _141x141 or _145x145 or _149x149 or _153x153 or _157x157 or _161x161 or _165x165 or _169x169 or _173x173 or _177x177</QRCodeFormat> <ImageFormat>SVG or BMP or JPG or PNG or WMF or TIFF or GIF</ImageFormat> <Orientation>Original or Rotate90 or Rotate180 or Rotate270</Orientation> <Resolution>int</Resolution> <Size>int</Size> <strToken>string</strToken> </QRCode> </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> <QRCodeResponse xmlns="http://www.barcodesoft.com/"> <QRCodeResult>base64Binary</QRCodeResult> </QRCodeResponse> </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 /bcdgen.asmx HTTP/1.1 Host: barcode.barcodesoft.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> <QRCode xmlns="http://www.barcodesoft.com/"> <textToEncode>string</textToEncode> <EccLevel>L07 or M15 or Q25 or H30</EccLevel> <QRCodeFormat>AutoSelect or _21x21 or _25x25 or _29x29 or _33x33 or _37x37 or _41x41 or _45x45 or _49x49 or _53x53 or _57x57 or _61x61 or _65x65 or _69x69 or _73x73 or _77x77 or _81x81 or _85x85 or _89x89 or _93x93 or _97x97 or _101x101 or _105x105 or _109x109 or _113x113 or _117x117 or _121x121 or _125x125 or _129x129 or _133x133 or _137x137 or _141x141 or _145x145 or _149x149 or _153x153 or _157x157 or _161x161 or _165x165 or _169x169 or _173x173 or _177x177</QRCodeFormat> <ImageFormat>SVG or BMP or JPG or PNG or WMF or TIFF or GIF</ImageFormat> <Orientation>Original or Rotate90 or Rotate180 or Rotate270</Orientation> <Resolution>int</Resolution> <Size>int</Size> <strToken>string</strToken> </QRCode> </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> <QRCodeResponse xmlns="http://www.barcodesoft.com/"> <QRCodeResult>base64Binary</QRCodeResult> </QRCodeResponse> </soap12:Body> </soap12:Envelope>