I’am trying to consume this Barcode generating Soap Service:
http://www.webservicex.net/WS/WSDetails.aspx?CATID=8&WSID=76
Inside the soap Setup i use:
http://www.webservicex.net/genericbarcode.asmx?WSDL
The service API Docs are available.
As requestbody i think i have to send something like this:
{
“BarCodeText”: “1356544”,
“BarCodeParam”: {
“barcodeType”: “Code128”,
“barcodeOption”:“Code”,
“Height”:“5”,
“Width”: “10”,
“Left”: “5”,
“Top”: “5”,
“Angle”:“0”,
“Ratio”:“1”,
“Module”:“1”,
“FontSize”:“20”,
“FontName”:“Helvetica”,
“BarColor”:“black”,
“BGColor”:“white”,
“checkSumMethod”:“None”,
“CheckSum”:“false”,
“showTextPosition”:“BottomCenter”,
“BarCodeImageFormat”: “PNG”
}
}
The result should be a base64encoded string, but
I get the following error:
“error”: {
“context”: null,
“message”: “The Response content must be a string or object implementing __toString(), “boolean” given.”,
“code”: 500,
“trace”: [