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 "Eric Norman (JIRA)" <ax...@ws.apache.org> on 2004/12/15 00:48:57 UTC

[jira] Created: (AXIS-1726) WSDL2Java does not handle nested restrictions

WSDL2Java does not handle nested restrictions
---------------------------------------------

         Key: AXIS-1726
         URL: http://nagoya.apache.org/jira/browse/AXIS-1726
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC2    
 Environment: Any
    Reporter: Eric Norman
 Attachments: SchemaUtils.java, Utils.java

The WSDL2Java processor is unable to determine the base type for a restricted simpleType whose base attribute is declared in a nested restriction node.  I'll attach the patched classes and the WSDL file that demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Updated: (AXIS-1726) WSDL2Java does not handle nested restrictions

Posted by "Eric Norman (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1726?page=history ]

Eric Norman updated AXIS-1726:
------------------------------

    Attachment: Utils.java

Patched toJava\Utils class to handle nested simpleType restrictions

> WSDL2Java does not handle nested restrictions
> ---------------------------------------------
>
>          Key: AXIS-1726
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1726
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Any
>     Reporter: Eric Norman
>  Attachments: SchemaUtils.java, Utils.java
>
> The WSDL2Java processor is unable to determine the base type for a restricted simpleType whose base attribute is declared in a nested restriction node.  I'll attach the patched classes and the WSDL file that demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Updated: (AXIS-1726) WSDL2Java does not handle nested restrictions

Posted by "Eric Norman (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1726?page=history ]

Eric Norman updated AXIS-1726:
------------------------------

    Attachment: SchemaUtils.java

Patched SchemaUtils class to handle nested simpleType restrictions

> WSDL2Java does not handle nested restrictions
> ---------------------------------------------
>
>          Key: AXIS-1726
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1726
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Any
>     Reporter: Eric Norman
>  Attachments: SchemaUtils.java, Utils.java
>
> The WSDL2Java processor is unable to determine the base type for a restricted simpleType whose base attribute is declared in a nested restriction node.  I'll attach the patched classes and the WSDL file that demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Updated: (AXIS-1726) WSDL2Java does not handle nested restrictions

Posted by "Eric Norman (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1726?page=history ]

Eric Norman updated AXIS-1726:
------------------------------

    Attachment: getPlanList_new.wsdl

WSDL file that demonstrates the problem being fixed

> WSDL2Java does not handle nested restrictions
> ---------------------------------------------
>
>          Key: AXIS-1726
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1726
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Any
>     Reporter: Eric Norman
>  Attachments: SchemaUtils.java, Utils.java, getPlanList_new.wsdl
>
> The WSDL2Java processor is unable to determine the base type for a restricted simpleType whose base attribute is declared in a nested restriction node.  I'll attach the patched classes and the WSDL file that demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Updated: (AXIS-1726) WSDL2Java does not handle nested restrictions

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

Eric Norman updated AXIS-1726:
------------------------------

    Attachment: nested_restriction_testcases.zip

This is a test case for a WSDL file that contains nested restrictions

> WSDL2Java does not handle nested restrictions
> ---------------------------------------------
>
>          Key: AXIS-1726
>          URL: http://issues.apache.org/jira/browse/AXIS-1726
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Any
>     Reporter: Eric Norman
>  Attachments: SchemaUtils.java, Utils.java, getPlanList_new.wsdl, nested_restriction_testcases.zip
>
> The WSDL2Java processor is unable to determine the base type for a restricted simpleType whose base attribute is declared in a nested restriction node.  I'll attach the patched classes and the WSDL file that demonstrates the problem.

-- 
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-1726) WSDL2Java does not handle nested restrictions

Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1726?page=comments#action_56840 ]
     
Dominik Kacprzak commented on AXIS-1726:
----------------------------------------

Hi Eric,

could you add a test or two to make sure that a regression is not introduced in the future?  test/wsdl/types would be a good place.

thanks,

- Dominik

> WSDL2Java does not handle nested restrictions
> ---------------------------------------------
>
>          Key: AXIS-1726
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1726
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Any
>     Reporter: Eric Norman
>  Attachments: SchemaUtils.java, Utils.java, getPlanList_new.wsdl
>
> The WSDL2Java processor is unable to determine the base type for a restricted simpleType whose base attribute is declared in a nested restriction node.  I'll attach the patched classes and the WSDL file that demonstrates the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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