[ 
https://issues.apache.org/jira/browse/AXIS-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636165#comment-13636165
 ] 

Deepak Agarwal commented on AXIS-2890:
--------------------------------------

I am attaching the sample code snippet from the wsdl version and incorrect one.

Correct WSDL Snippet :

<simpleType name="ReplyMessageType">
    <restriction base="xsd:string">
     <enumeration id="ReplyMessageType.SUCCESS" value="0"/>
     <enumeration id="ReplyMessageType.INV_ACCT_CODE" value="1"/>
     <enumeration id="ReplyMessageType.ACCT_CLOSED_ERR" value="2"/>
     <enumeration id="ReplyMessageType.ACCT_BLOCKED_ERR" value="3"/>
     <enumeration id="ReplyMessageType.NODR_ONACCT" value="4"/>
    </restriction>
   </simpleType>
   

Incorrect one :
 <simpleType name="ReplyMessageType">
    <restriction base="xsd:string"/>
   </simpleType>
                
> EnumerationSerilizer is not getting generated in  Axis1.4
> ---------------------------------------------------------
>
>                 Key: AXIS-2890
>                 URL: https://issues.apache.org/jira/browse/AXIS-2890
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.4
>         Environment: Windows
>            Reporter: Deepak Agarwal
>            Priority: Critical
>              Labels: features
>
> I am trying to generate wsdl using java2wsdl utility. for the enumeration 
> type field it is not generating the enumeration node with id and value in 
> <type element.
> Please help if i am doing something wrong. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to