Documentation for required says:
If
required()
istrue
, then Javabean property is mapped to an XML schema ele
Indeed it seems that SOAP envelopes aren't validated upon WSDL, neither on server or client.
And I think it's best this way. Validation consumes resources and time. For most WebServices, all we need with WSDL is to provide to client the definitions to be able to talk to WebService, and not set restrictions like if a property can or not be null.
When server and client are on same PC, Axis2 add 3-5 milisecs of overhead compared to internal calls. Unecessary validation would only increase overhead. I's better to make operations throw an exception and manually validate what's really needed.