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 "Tong Wang (JIRA)" <ax...@ws.apache.org> on 2007/05/23 06:15:16 UTC

[jira] Updated: (AXIS-2667) Schema for some simple type is wrong after WSDL2Java and Java2WSDL

     [ https://issues.apache.org/jira/browse/AXIS-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tong Wang updated AXIS-2667:
----------------------------

    Attachment: VITR00136749.wsdl

original wsdl file

> Schema for some simple type is wrong after WSDL2Java and Java2WSDL
> ------------------------------------------------------------------
>
>                 Key: AXIS-2667
>                 URL: https://issues.apache.org/jira/browse/AXIS-2667
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: current (nightly)
>         Environment: WIndowsXP JDK1.4
>            Reporter: Tong Wang
>            Priority: Critical
>         Attachments: VITR00136749.wsdl
>
>
> Do WSDL2Java to the attached wsdl file. And again Java2WSDL to the generated java classes.
> You will find in the new generated wsdl.
> The definition for type "String1" is:
>   <complexType name="String1">
>     <simpleContent>
>       <extension/>
>     </simpleContent>
>   </complexType>
> There must be a "base" attribute in the tag "<extension/>". And the definition for type "String1" in the original wsdl is:
>   <simpleType name="String1">
>     <restriction base="string"/>
>   </simpleType>
> "String1" is a simple type not a complex type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org