Yes, It is possible. Please change the following line in your Stub generated
by WSDL2Java
File: XxxxBindingStub.java
In createCall() method:
protected org.apache.axis.client.Call *createCall*() throws
java.rmi.RemoteException {
…
…
*while* (keys.hasMoreElements()) {
java.lang.String key = (java.lang.String) keys.nextElement();
_call.setProperty(key, *super*.cachedProperties.get(key));
}
// change it to the encoding you want..
_call.setProperty(org.apache.axis.client.Call.*CHARACTER_SET_ENCODING*,
"ISO-8859-1");
synchronized (this) {
…
}
}
See if this works!!
cheers,
Rushikesh
On 2/8/08, Jan Philipp Seng <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> I am using Axis2 1.3 with ADB. There is a demand to deliver the SOAP
> responses in latin1 (ISO-8859-1) instead of UTF-8. Can I change the encoding
> of SOAP responses?
>
>
>
> Thanks
>
> Jan
>
>
>
> Gruß,
>
> Jan
>
> ______________________________________________
>
>
>
> Jan Philipp Seng
>
> IT-Entwicklung
>
>
>
> TravelTainment AG
>
> Carlo-Schmid-Straße 12
>
> 52146 Würselen/Aachen
>
> Germany
>
> Tel: +49 (0)2405 - 4484-50
>
> Fax: +49 (0)2405 - 4484-90
>
> email: [EMAIL PROTECTED]
>
>
>
> Amtsgericht Aachen, HRB 8173
>
> Vorstand: Ralf Usbeck (Vors.), Michael Kalt; Aufsichtsratvorsitzender:
> Philippe Chérèque
>
>
>
> http://www.traveltainment.de
>
> http://www.vidado.com
>
>
>