You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by David Vir <vi...@gmail.com> on 2009/08/24 17:06:50 UTC
Axis 1.4 strange characters <
....
Hello,
My name is David and i have seen that you are an experienced user of axis. I
need to connect to one Web Service that have a wsdl that i can't change.=20
I am receiving strange characters in their response:
For example:
You must present a photo ID when checking in. Your credit card is charged at
the time you book. 		Bed type and smoking preferences are
not guaranteed.Your reservation is prepaid and is guaranteed
		for late arrival. The total charge includes all room
charges and taxes, as well as fees for access 		and booking.
Any incidental charges such as parking, phone calls, and room service will
be handled 		directly between you and the property.
The wsdl is RPC encoded and i can only use Axis 1.4 because Axis 2 doesn't
allow RPC encoded.=20
I don't know how to solve this problem because i receive many strange
characters....
Do you know how to solve, including some header in the stub? The stub of
axis have one method setHeader.
I have tried the following:=20
stub.setHeader("urn:thisNamespace", "charset", "ISO-8859-1"); or
stub.setHeader("urn:thisNamespace", "charset", "UTF-8");
And the result is the same.
Do you know how to solve?
Regards
--
View this message in context: http://www.nabble.com/Axis-1.4-strange-characters--lt----13-....-tp25117707p25117707.html
Sent from the Axis - Dev mailing list archive at Nabble.com.
Re: Axis 1.4 strange characters <
....
Posted by WJ Krpelan <kr...@yahoo.com>.
Hi,
your strange characters is standard xml-escaped characters obviously
are you doing soap-processing by hand?
Cheers Wolfgang
--- On Mon, 8/24/09, David Vir <vi...@gmail.com> wrote:
> From: David Vir <vi...@gmail.com>
> Subject: Axis 1.4 strange characters < ....
> To: axis-dev@ws.apache.org
> Date: Monday, August 24, 2009, 5:06 PM
>
> Hello,
>
> My name is David and i have seen that you are an
> experienced user of axis. I
> need to connect to one Web Service that have a wsdl that i
> can't change.=20
>
> I am receiving strange characters in their response:
>
> For example:
>
> You must present a photo ID when checking in. Your credit
> card is charged at
> the time you book.
Bed type and smoking
> preferences are
> not guaranteed.Your reservation is prepaid and is
> guaranteed
>
for late arrival. The total charge
> includes all room
> charges and taxes, as well as fees for access
>
and booking.
> Any incidental charges such as parking, phone calls, and
> room service will
> be handled
directly between you and the
> property.
>
> The wsdl is RPC encoded and i can only use Axis 1.4 because
> Axis 2 doesn't
> allow RPC encoded.=20
>
> I don't know how to solve this problem because i receive
> many strange
> characters....
>
> Do you know how to solve, including some header in the
> stub? The stub of
> axis have one method setHeader.
>
> I have tried the following:=20
>
> stub.setHeader("urn:thisNamespace",
> "charset", "ISO-8859-1"); or
> stub.setHeader("urn:thisNamespace",
> "charset", "UTF-8");
>
> And the result is the same.
>
> Do you know how to solve?
>
> Regards
>
>
> --
> View this message in context: http://www.nabble.com/Axis-1.4-strange-characters--lt----13-....-tp25117707p25117707.html
> Sent from the Axis - Dev mailing list archive at
> Nabble.com.
>
>