Davanum Srinivas (JIRA) wrote:
[ http://issues.apache.org/jira/browse/AXIS-1825?page=comments#action_59525 ]
Davanum Srinivas commented on AXIS-1825:
----------------------------------------


Can we make this as an enhancement request?

thanks,
dims

Damn, I thought I'd choose enhancement request. Sorry! Now the issue is closed and I can't change anything :( Can you - as admin - change it?

Thanks
Carsten

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.




--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Reply via email to