Hi All,

I'm new to Axis and to a certain degree to SOAP. I'm wondering if it's
possible to limit the length of input that is received. For example, I have
a request....

 <wsdl:message name="request">
   <wsdl:part name="part1" type="xsd:string"/>
   <wsdl:part name="part2" type="xsd:long"/>
 </wsdl:message>

Is there some way to limit the number of characters (or digits) that are
given when the service is called? I've seen lots of examples for limiting
output, e.g.

    <xsd:simpleType name="part1_restriction">
         <xsd:restriction base="xsd:string">
         <xsd:maxLength value="2"/>
         </xsd:restriction>
     </xsd:simpleType>

...but none for limiting input (I tried using the part1_restriction on part1
above message to no avail). Any ideas out there?

Thanks,
Ryan

Reply via email to