This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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:
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");