Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
Currently Axis doesn't use a WSDL file; even if you already have one you use wsdl2java and then deploy the result into Axis. During this deployment the wsdl file is not deployed as well.
The main problem with this is that some validation rules defined in the wsdl file are not checked by axis anymore, for example if you use patterns for strings etc.
So, it would be great if it would be possible to deploy a WSDL file as well and Axis would use that to validate incomming messages.
The validation can be done by using WSDL4J to read the WSDL file and then create an XML Schema out of the in memory representation you get from WSDL4J; just add a new schema element for each incomming message to the schema and then you can validate the incomming request using this schema.