I am using Java 1.7 to consume the web service. I am able to generate ticket successfully, with response like this,
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<TicketCreateResponse xmlns="http://www.otrs.org/TicketConnector/">
<ArticleID>103</ArticleID>
<TicketID>41</TicketID>
<TicketNumber>201502277600021</TicketNumber>
</TicketCreateResponse>
</soap:Body>
</soap:Envelope>
After close look at the message, I figured out that this SOAP response message from OTRS is using SOAP1.1 (xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"). Is there any where to set SOAP as 1.2 instead?
Thank you!