This is a discussion on Apache 1.3 vs Apache 2.X and SOAP::Lite within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, we have a very special problem here, but i hope anybody can help. We use SOAP::Lite and Perl ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
we have a very special problem here, but i hope anybody can help. We use SOAP::Lite and Perl fuer an SOAP Server included as CGI-Script. With Apache 1.3 all work fine: I send a SOAP Call to get data and get back: Date: Thu, 07 Dec 2006 17:11:42 GMT Server: Apache Content-Length: 3419 SOAPServer: SOAP::Lite/Perl/0.69 Connection: close Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ecceroma="http://ecceroma.ecce-terram.de/ECCEROMAServer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><getUs erDataResponse xmlns="http://ecceroma.ecce-terram.de/ECCEROMAServer"><errors xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ecceroma:Error[0]" /><outParameters xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ecceroma:Parameter[19]"> .... <key xsi:type="xsd:string">Ecom_ShipTo_Postal_City</key><value xsi:type="xsd:string">CONTENTDATA</value></item> The CONTENTDATA have german "umlaute", coded as UTF-8. Now i use apache 2.0 (or apache 2.2, have the same effect). Nothing other is changed, the configuration is near to the default. No i get the answer from the SOAP-Server: Date: Thu, 07 Dec 2006 17:14:44 GMT Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7d SOAPServer: SOAP::Lite/Perl/0.69 Content-Length: 3419 Connection: close Content-Type: text/xml; charset=utf-8 <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ecceroma="http://ecceroma.ecce-terram.de/ECCEROMAServer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><getUs erDataResponse xmlns="http://ecceroma.ecce-terram.de/ECCEROMAServer"><errors xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ecceroma:Error[0]" /><outParameters xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ecceroma:Parameter[19]"> .... <key xsi:type="xsd:string">Ecom_ShipTo_Postal_City</key><value xsi:type="xsd:string">CONTENTDATA</value></item> And now the CONTENTDATA is coded in ISO-LATIN 1 (ISO 8859/1). I dont understand this.AddDefaultCharset dont have somethink to do with this. Any idea ? best regards Frank |