I am upgrading from version 6.5 to 7.1.1 of Integration Server.
I have a serious error.
When a .NET client calls a IS webService with SOAP, the response from IS is wrongly encoded. This .NET client uses the WSDL generated in 6.5 but as I have hundreds of WS in IS I cannot regenerated them all.
I checked the response in 6.5 and 7.1 and the difference is that in the response from IS the “Content-Type:text/xml” and in 6.5 is “Content-Type:text/xml;charset=utf-8”.
Response with 7.1:
ResponseCode: 200 (OK)
Content-Length:1652
Content-Type:text/xml
<?xml version="1.0" encoding="utf-16"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ser-root:LogonResponse xmlns:ser-root="http://www.tranquilidade.pt/EAI/Logon/Logon" SOAP-ENC:root="1">
...
<LongName xsi:type="xsd:string">Jo??o Caseiro</LongName>
<ShortName xsi:type="xsd:string">Jo??o Caseiro</ShortName>
...
</ser-root:LogonResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response with 6.5:
ResponseCode: 200 (OK)
Connection:Keep-Alive
Content-Length:1652
Content-Type:text/xml;charset=utf-8
<?xml version="1.0" encoding="utf-16"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ser-root:LogonResponse xmlns:ser-root="http://www.tranquilidade.pt/EAI/Logon/Logon" SOAP-ENC:root="1">
...
<LongName xsi:type="xsd:string">João Caseiro</LongName>
<ShortName xsi:type="xsd:string">João Caseiro</ShortName>
...
</ser-root:LogonResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>