Use WSDL to validate incomming messages
---------------------------------------

         Key: AXIS-1825
         URL: http://issues.apache.org/jira/browse/AXIS-1825
     Project: Axis
        Type: Improvement
    Reporter: Carsten Ziegeler


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to