BarCodeWebService
Click here for a complete list of operations.
Datamatrix
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/datamatrix_font.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> <Datamatrix xmlns="http://www.barcodesoft.com/"> <textToEncode>string</textToEncode> <Format>AutoSelect or _10x10 or _12x12 or _14x14 or _16x16 or _18x18 or _20x20 or _22x22 or _24x24 or _26x26 or _32x32 or _36x36 or _40x40 or _44x44 or _48x48 or _52x52 or _64x64 or _72x72 or _80x80 or _88x88 or _96x96 or _104x104 or _120x120 or _134x134 or _144x144 or _8x18 or _8x32 or _12x26 or _12x36 or _16x36 or _16x48</Format> <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> <Width>int</Width> <Height>int</Height> <strToken>string</strToken> </Datamatrix> </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> <DatamatrixResponse xmlns="http://www.barcodesoft.com/"> <DatamatrixResult>base64Binary</DatamatrixResult> </DatamatrixResponse> </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> <Datamatrix xmlns="http://www.barcodesoft.com/"> <textToEncode>string</textToEncode> <Format>AutoSelect or _10x10 or _12x12 or _14x14 or _16x16 or _18x18 or _20x20 or _22x22 or _24x24 or _26x26 or _32x32 or _36x36 or _40x40 or _44x44 or _48x48 or _52x52 or _64x64 or _72x72 or _80x80 or _88x88 or _96x96 or _104x104 or _120x120 or _134x134 or _144x144 or _8x18 or _8x32 or _12x26 or _12x36 or _16x36 or _16x48</Format> <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> <Width>int</Width> <Height>int</Height> <strToken>string</strToken> </Datamatrix> </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> <DatamatrixResponse xmlns="http://www.barcodesoft.com/"> <DatamatrixResult>base64Binary</DatamatrixResult> </DatamatrixResponse> </soap12:Body> </soap12:Envelope>