Hi,
I was wondering if GlassfishESB V2/ JCAPS 6 provide a way to validate the WebService Request against the xml schema defined in the WSDL.If the request is invalid, ideally the Webservice should send a SOAP fault but it is accepting the request and returning the response.
I created a webservice by:
1.defining XSD with Request Response elements and Restrictions like mandatory,types and min length.
2.Created a WSDL and generated a JavaEE Webservice using JAX-WS.
It does not do XSD validation on the input request,i.e. even if a mandatory field is missing / a blank value when the min length is greater than 1 it still accepts and returns a response.
Any help is appreciated.
Thanks,
Nag