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 Shehan Simen <ss...@itree.com.au> on 2008/08/11 07:06:22 UTC

base64binary size?

Hi,
I want to send a file of size maximum 5mb via a web service.
So in the wsdl, how do I specify the size?
Is the following correct?

<xs:simpleType name="FileRawDataType">
     <xs:restriction base="xs:base64Binary">
            <xs:maxLength value="5242880"/>
    </xs:restriction>
</xs:simpleType>

Where 5242880 = 1024 x 1024 x 5

Thanks.