opensubscriber
   Find in this group all groups
 
Unknown more information…

a : axis-dev@ws.apache.org 24 August 2009 • 11:06PM -0400

Axis 1.4 strange characters < 
....
by David Vir

REPLY TO AUTHOR
 
REPLY TO GROUP





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.

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.