I also have a service returning byte[], and it is correctly serialized as xsd:base64Binary (both in wrapped/literal and rpc/encoded styles) .

James Black a écrit :

I am using Axis 1.2RC2 and I have a function:
public byte[] lookupSelectLocationsString(Item input)

~From the wsdl file I have this:
<wsdl:message name="lookupSelectLocationsStringResponse">
<wsdl:part name="result" type="xsd:byte"/>
</wsdl:message>

This is causing me a problem in .net, as this is converted to an sbyte,
rather than being a byte array.

It used to be of type: soapenc:base64Binary

I am using RPC/Encoded as that is what I have been using in production
also, with axis 1.2rc1.

Is this a known issue?

--
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    [EMAIL PROTECTED]



Reply via email to