You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Carsten Ziegeler (JIRA)" <ax...@ws.apache.org> on 2005/02/19 13:00:48 UTC

[jira] Created: (AXIS-1825) Use WSDL to validate incomming messages

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


[jira] Commented: (AXIS-1825) Use WSDL to validate incomming messages

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ 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

> 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


[jira] Closed: (AXIS-1825) Use WSDL to validate incomming messages

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1825?page=history ]
     
Tom Jordahl closed AXIS-1825:
-----------------------------

    Resolution: Won't Fix

Using the XML Schema in the WSDL to validate the SOAP messages is a non-goal for Axis 1.x.

> 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