Hi,

I have changed the databinding from adb to xmlbeans for an existing webservice.

Everything seems to work fine except the input length validation against the 
xml schema.
If a field in the request exceeds the maximum length the xmlbeans-webservice 
doesn't generate an AxisFault. In this case, the adb-webservice will generate 
an AxisFault.

Some examples of the XML schema:
<xs:simpleType name="SomeType">
      <xs:restriction base="xs:string">
            <xs:minLength value="1" />
            <xs:maxLength value="15" />
      </xs:restriction>
</xs:simpleType>

Or

<xs:simpleType name="SomeType">
      <xs:restriction base="xs:string">
            <xs:maxLength value="15" />
      </xs:restriction>
</xs:simpleType>

Or

<xs:simpleType name="MerchantCategoryType">
      <xs:restriction base="xs:integer">
             <xs:totalDigits value="4" />
       </xs:restriction>
</xs:simpleType>


Numeric versus alphanumeric validation works fine.
Does anyone have some ideas?

Thx
Robert van Dijk

------------------------------------------------------------------------------------------------
 Disclaimer: The contents of this electronic mail message are only binding upon 
Equens or its affiliates, if the contents of the message are accompanied by a 
lawfully recognised type of signature. The contents of this electronic mail 
message are privileged and confidential and are intended only for use by the 
addressee. If you have received this electronic mail message by error, please 
notify the sender and delete the message without taking notices of its content, 
reproducing it and using it in any way. 
------------------------------------------------------------------------------------------------

Reply via email to