You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Siddhartha Ganapati Subramanian <si...@gmail.com> on 2007/07/26 17:08:57 UTC

bean string attribute getting encoded as bytes?

Hi

Am using Java Axis 1.3 and every now and then when there is a bean that has
a single string attribute, the value gets encoded and sent across from the
client as a base64Binary. (namespaces left out intentionally)

<fieldname>
<bytes>base64encided value</bytes>
</fieldname>

instead of
<fieldname>
stringvalue
</fieldname>

The WSDL specifically states that the field xsi:type=soapenc:string and has
no information on base64/byte type in the WSDL.

anyone have pointers on whats going on and how I can turn this encoding as
base64 off?

Sid