I would love to hear, if someone succeeds to test it 
You can test it without installing the PHP SOAP application - you only need internet. Then it is displayed over 'http://www.outlance.de/scprint/prepare_ticket.php'
or you install it on your server, then you need to modify the following function in OuPrintTicket ScriptLibrary.
Code:
function printTicketSOAP(contentArray)
{
var content = '';
for(line in contentArray)
{
content = content + contentArray[line];
}
var url = 'http://www.outlance.de/scprint/prepare_ticket.php';
var xml = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><SOAP-ENV:Body><ns1:printTicket xmlns:ns1=\"urn:xmethods-printTicket\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><content xsi:type=\"xsd:string[1]\"><![CDATA[" + content + "]]></content></ns1:printTicket></SOAP-ENV:Body></SOAP-ENV:Envelope>";
var attachment = new Array();
var quote = new XML;
quote = doSOAPRequest( url, 'printTicket', xml, null, null, 10, 10, 10, attachment );
return quote.getFirstChildElement().getFirstChildElement().getFirstChildElement().getNodeValue();
}
Bookmarks