The Artima Developer Community
Sponsored Link

Web Services Forum
Axis 1.4 strange characters < 
....

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
David Vvirgal

Posts: 1
Nickname: virchete
Registered: Aug, 2009

Axis 1.4 strange characters < 
.... Posted: Aug 24, 2009 7:47 AM
Reply to this message Reply
Advertisement
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.

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.

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:

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

Topic: WSDL imports with same namespace.. Previous Topic   Next Topic Topic: Unable to deploy service on https port (Successfully deployed for http)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use