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 "Benny Kristensen (JIRA)" <ax...@ws.apache.org> on 2004/11/29 11:45:33 UTC

[jira] Commented: (AXIS-1454) simple type restrictions no longer create class

     [ http://nagoya.apache.org/jira/browse/AXIS-1454?page=comments#action_55969 ]
     
Benny Kristensen commented on AXIS-1454:
----------------------------------------

Okay, I guess it's okay that it uses a string  type internal instead of a generated class. 
But I think it is a more serious problem that the wsdl that axis autogenerates and publishes by default is wrong: the simpleType is excluded from the wsdl but still referenced.

(I guess you can solve this by including a <wsdlfile ...> reference to the original wsdl-file in the wsdd file but still...)

> simple type restrictions no longer create class
> -----------------------------------------------
>
>          Key: AXIS-1454
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1454
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: beta-2
>  Environment: XP, SDK 1.4.2_03
>     Reporter: Simon Fell
>     Priority: Minor
>  Attachments: enterprise.wsdl
>
> running WSDL2Java on a wsdl that includes a simple type restriction, e.g.
>             <simpleType name="ID">
>                 <restriction base="xsd:string">
>                     <length value="18"/>
>                     <pattern value='[a-zA-Z0-9]{18}'/>
>                 </restriction>
>             </simpleType>
> in Axis 1.1, this creates a new type called ID, with beta2, this is just mapped to string. This make existing client code (written against an Axis 1.1 generated stub) incompatible.

-- 
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