Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 2742 invoked from network); 5 Feb 2010 07:42:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 07:42:36 -0000 Received: (qmail 97272 invoked by uid 500); 5 Feb 2010 07:42:34 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 97193 invoked by uid 500); 5 Feb 2010 07:42:33 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 97184 invoked by uid 99); 5 Feb 2010 07:42:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 07:42:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amilasuriarachchi@gmail.com designates 209.85.222.197 as permitted sender) Received: from [209.85.222.197] (HELO mail-pz0-f197.google.com) (209.85.222.197) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 07:42:23 +0000 Received: by pzk35 with SMTP id 35so650790pzk.30 for ; Thu, 04 Feb 2010 23:42:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=vUnNPoAudQVGMV38fTwX2b+YG+ueiLkcL4QhmhmXsXw=; b=anp8CZDW0cNG/0aUw6bKlAyQuoywBOhXmonOorKxyy8d9h4JXk+FuYnFfITIERknYw 0c2zJwutG95q6wcvakJyE3HwMEHyJ934QP0S+0TFY2G7fGRKUTUO0aTritih9SEgEDvC XjCFsLNPbcgx2AKDWYb0MKigrYKUesTK3G90I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RHVTYDaOWUkPBE1nRLlyM+98FL7IeNONh47ESV0Zfs3D+zNAdlSNVxPQgL0E4D1yKX Kz34JL7kNRgLg45ZXybl+orhWl8pmBwIKTmpkcFftXPdfJKwpsqJaTVssuIcHK8fCCH8 Nyi1+k5z1hASqAZ8n4rCKs5fCZnr9P3Fw1Zfw= MIME-Version: 1.0 Received: by 10.143.20.7 with SMTP id x7mr1469767wfi.208.1265355720998; Thu, 04 Feb 2010 23:42:00 -0800 (PST) In-Reply-To: <839A1515A40857469AC404D78BEB47921DA069AF@w2ksca501.vsp.com> References: <839A1515A40857469AC404D78BEB47921DA069AF@w2ksca501.vsp.com> Date: Fri, 5 Feb 2010 13:12:00 +0530 Message-ID: <60708f4b1002042342q359df160m899725bd4891261@mail.gmail.com> Subject: Re: xml payload From: Amila Suriarachchi To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=001636e1f8f543c03b047ed5960e --001636e1f8f543c03b047ed5960e Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Fri, Feb 5, 2010 at 12:29 AM, Joe White wrote: > I=92m calling a SOAP service and one of the input methods is a String > object. > > The problem I=92m having is that this String object, is actually an xml > document. > > When Axis attempts to send to payload, it=92s encoding all of the special > characters IE etc.. > > Is being send over encoded. <?xml version=3D"1.0" > encoding=3D"UTF-8"?> > In fact this is the correct way to do it. if you use Axis2 try to build an Axiom Object from the string and attached it. thanks, Amila. > > > How can I tell the Apache Engine to NOT encode this? The server I=92m tal= king > to is having issues ciphering the data because of this. > > > > > > > > MailGate.vsp.com made the following annotations > --------------------------------------------------------------------- > NOTICE: This message is intended only for the individual to whom it is > addressed and may contain information that is confidential or privileged.= If > you are not the intended recipient, or the employee or person responsible > for delivering it to the intended recipient, you are hereby notified that > any dissemination, distribution, copying or use is strictly prohibited. I= f > you have received this communication in error, please notify the sender a= nd > destroy or delete this communication immediately. > --------------------------------------------------------------------- > --=20 Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ --001636e1f8f543c03b047ed5960e Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

On Fri, Feb 5, 2010 at 12:29 AM, Joe Whi= te <Joe.Whi= te@eyefinity.com> wrote:

I=92m calli= ng a SOAP service and one of the input methods is a String object.

The problem= I=92m having is that this String object, is actually an xml document.

When Axis a= ttempts to send to payload, it=92s encoding all of the special characters IE <xml version=3D=941.0=94 encoding=3D=94UTF-8=94> etc..

Is being se= nd over encoded. &lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;?&= ;gt;


In fact this is the= correct way to do it. if you use Axis2 try to build an Axiom Object from t= he string and attached it.

thanks,
Amila.

=A0<= /font>

How can I t= ell the Apache Engine to NOT encode this? The server I=92m talking to is having issues ciphering the data because of this.

=A0

=A0

=A0=

MailGate.vsp.com made the following annotations
--------------------------------------= -------------------------------
NOTICE: This message is intended only fo= r the individual to whom it is addressed and may contain information that i= s confidential or privileged. If you are not the intended recipient, or the= employee or person responsible for delivering it to the intended recipient= , you are hereby notified that any dissemination, distribution, copying or = use is strictly prohibited. If you have received this communication in erro= r, please notify the sender and destroy or delete this communication immedi= ately. ---------------------------------------------------------------------




--
Amila Suriarachchi
W= SO2 Inc.
blog:
http://am= ilachinthaka.blogspot.com/
--001636e1f8f543c03b047ed5960e--