Problem of data validation in Axis

I use Axis 1.4 to implements a service.

I write the WSDL and generate the Java code with WSDL2Java tools.

The signature of the service is :

public void setOrder(Customer,Date,OrderLines);

In the Customer type there is an email attribute defined in WSDL like bellow:

<xsd:simpleType name="emailType">

<xsd:restriction base="xsd:string">

<xsd:pattern value="[a-z]@[a-z0-9]+"/>

</xsd:restriction>

</xsd:simpleType>

When I test the service with a valid data in the email attribure("test@test.com"), it works.

But when I test the service with a non valid data in the email attribute ("jhhgfg"), it works !!!

Normally it must not work.s The email attribute must be unvalidated by the Axis engine !!!

[805 byte] By [anas4120a] at [2007-11-26 18:10:13]
# 1
It is a good thing that your validation is not working. If it was, it would reject "test@test.com" (that doesn't match the regex you displayed there) and a lot of other valid e-mail addresses.
DrClapa at 2007-7-9 5:42:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
But what I must do if I want the validation work ?
anas4120a at 2007-7-9 5:42:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...