axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: xml payload
Date Fri, 05 Feb 2010 07:42:00 GMT
On Fri, Feb 5, 2010 at 12:29 AM, Joe White <Joe.White@eyefinity.com> wrote:

>  I’m calling a SOAP service and one of the input methods is a String
> object.
>
> The problem I’m having is that this String object, is actually an xml
> document.
>
> When Axis attempts to send to payload, it’s encoding all of the special
> characters IE <xml version=”1.0” encoding=”UTF-8”> etc..
>
> Is being send over encoded. &lt;?xml version=&quot;1.0&quot;
> encoding=&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 the string and attached it.

thanks,
Amila.

>
>
> How can I tell the Apache Engine to NOT encode this? The server I’m talking
> 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. If
> you have received this communication in error, please notify the sender and
> destroy or delete this communication immediately.
> ---------------------------------------------------------------------
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message