MrLoick / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

Gen Wsdl File Error When Define the enum Type #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Define the enum type, as follow:
enum Type
{
    em_type1,
    em_type2,
};

enum Value
{
    em_type1 = 0,
    em_type2 = 1,
};

2. Gen the wsdl file as follow:
     <simpleType name="Type">
        <restriction base="integer">
          <enumeration value="" enum="em_type1"/>
          <enumeration value="" enum="em_type2"/>
          <enumeration value="" enum=""/>
        </restriction>
      </simpleType>

      <simpleType name="Value">
        <restriction base="integer">
          <enumeration value="0" enum="em_type1"/>
          <enumeration value="1" enum="em_type2"/>
          <enumeration value="" enum=""/>
        </restriction>
      </simpleType>
3.

What is the expected output? What do you see instead?
The Wsdl file is error.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by bingqing...@gmail.com on 3 Aug 2013 at 6:28

GoogleCodeExporter commented 8 years ago

Original comment by loentar on 5 Aug 2013 at 10:10

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r785.

Original comment by loentar on 5 Aug 2013 at 12:17