Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 81793 invoked from network); 6 Apr 2010 12:01:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Apr 2010 12:01:59 -0000 Received: (qmail 42690 invoked by uid 500); 6 Apr 2010 12:01:59 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 42442 invoked by uid 500); 6 Apr 2010 12:01:58 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 42429 invoked by uid 99); 6 Apr 2010 12:01:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 12:01:58 +0000 X-ASF-Spam-Status: No, hits=-1311.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Apr 2010 12:01:57 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D2AFE234C4AB for ; Tue, 6 Apr 2010 12:01:36 +0000 (UTC) Message-ID: <1975890557.8431270555296861.JavaMail.jira@brutus.apache.org> Date: Tue, 6 Apr 2010 12:01:36 +0000 (UTC) From: "Gajendra Kumar G (JIRA)" To: java-dev@axis.apache.org Subject: =?utf-8?Q?[jira]_Created:_(AXIS-2827)_German_?= =?utf-8?Q?characters_like_=C3=BC,-_,=C3=AD_are_not_prope?= =?utf-8?Q?rly_processed_from_org.w3c.dom.Docum?= =?utf-8?Q?ent_to_SOAPMessage_object_using_AXIS?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 German characters like =C3=BC,- ,=C3=AD are not properly processed from org= .w3c.dom.Document to SOAPMessage object using AXIS ---------------------------------------------------------------------------= ---------------------------------------- Key: AXIS-2827 URL: https://issues.apache.org/jira/browse/AXIS-2827 Project: Axis Issue Type: Bug Components: SAAJ Environment: Java, windows XP and WebLogic Reporter: Gajendra Kumar G Hello, when I am trying to add the org.w3c.dom.Document object into SOAPMessage Bo= dy object it is converting my german character in the Document object to so= me special characters (for eg: =C3=BC in the Document object, after convers= ion the new character is =C3=83=C2=BC). character conversion happend after this step in the following code: body.ad= dDocument(org.w3c.dom.Document); sample code: // All SAAJ SOAP messages are created by using a message factory MessageFactory msgFactory =3D getMessageFactory(); SOAPMessage msg =3D msgFactory.createMessage(); // Get the SOAP Part from the SOAP Message object SOAPPart soapPart =3D msg.getSOAPPart(); // The SOAP part object contains the SOAP Envelope Object SOAPEnvelope envelope =3D soapPart.getEnvelope(); SOAPHeader header =3D envelope.getHeader(); //To determine if the SOAPHeader can be detached from the envelope,= so that an empty header is only applied =20 SOAPFactory sFactory =3D getSOAPFactory(); SOAPElement originatingSysElement =3D sFactory.createElement(Consta= nts.SOAPHeader.Element.ORIGINATION_SYSTEM); originatingSysElement.addTextNode(Constants.SOAPHeader.Element.ORIG= INATION_SYSTEM_NAME); header.addChildElement(originatingSysElement); //Get the SOAP Body from the SOAP Envelope SOAPBody body =3D envelope.getBody(); body.addDocument(org.w3c.dom.Document); // Save changes to the message we just populated msg.saveChanges(); Kinldy help on this issue. Thanks and Regards Gajendra --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org