BarCodeWebService


Click here for a complete list of operations.

Aztec

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/aztec.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>
    <Aztec xmlns="http://www.barcodesoft.com/">
      <textToEncode>string</textToEncode>
      <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>
      <nFormat>AutoSelect or _15x15Compact or _19x19 or _19x19Compact or _23x23 or _23x23Compact or _27x27 or _27x27Compact or _31x31 or _37x37 or _41x41 or _45x45 or _49x49 or _53x53 or _57x57 or _61x61 or _67x67 or _71x71 or _75x75 or _79x79 or _83x83 or _87x87 or _91x91 or _95x95 or _101x101 or _105x105 or _109x109 or _113x113 or _117x117 or _121x121 or _125x125 or _131x131 or _135x135 or _139x139 or _143x143 or _147x147 or _151x151</nFormat>
      <ErrorLevel>AutoSelect or AztecECL5 or AztecECL10 or AztecECL15 or AztecECL20 or AztecECL23 or AztecECL25 or AztecECL30 or AztecECL35 or AztecECL40 or AztecECL45 or AztecECL50 or AztecECL55 or AztecECL60 or AztecECL65 or AztecECL70 or AztecECL75 or AztecECL80 or AztecECL85 or AztecECL90</ErrorLevel>
      <Size>int</Size>
      <strToken>string</strToken>
    </Aztec>
  </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>
    <AztecResponse xmlns="http://www.barcodesoft.com/">
      <AztecResult>base64Binary</AztecResult>
    </AztecResponse>
  </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>
    <Aztec xmlns="http://www.barcodesoft.com/">
      <textToEncode>string</textToEncode>
      <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>
      <nFormat>AutoSelect or _15x15Compact or _19x19 or _19x19Compact or _23x23 or _23x23Compact or _27x27 or _27x27Compact or _31x31 or _37x37 or _41x41 or _45x45 or _49x49 or _53x53 or _57x57 or _61x61 or _67x67 or _71x71 or _75x75 or _79x79 or _83x83 or _87x87 or _91x91 or _95x95 or _101x101 or _105x105 or _109x109 or _113x113 or _117x117 or _121x121 or _125x125 or _131x131 or _135x135 or _139x139 or _143x143 or _147x147 or _151x151</nFormat>
      <ErrorLevel>AutoSelect or AztecECL5 or AztecECL10 or AztecECL15 or AztecECL20 or AztecECL23 or AztecECL25 or AztecECL30 or AztecECL35 or AztecECL40 or AztecECL45 or AztecECL50 or AztecECL55 or AztecECL60 or AztecECL65 or AztecECL70 or AztecECL75 or AztecECL80 or AztecECL85 or AztecECL90</ErrorLevel>
      <Size>int</Size>
      <strToken>string</strToken>
    </Aztec>
  </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>
    <AztecResponse xmlns="http://www.barcodesoft.com/">
      <AztecResult>base64Binary</AztecResult>
    </AztecResponse>
  </soap12:Body>
</soap12:Envelope>