Problem getting the Enumeration values generated by wsdl2ws

Here is my wsdl
----------------------------------
<definitions name="wai" targetNamespace="http://soap.vindicia.com/wai";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="http://soap.vindicia.com/wai";
xmlns:vin="http://soap.vindicia.com/Vindicia";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsdl="http://soap.vindicia.com/wai"; >
  <documentation>WSDL Specification for wai</documentation>
  <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"; />
  <xsd:import namespace="http://www.w3.org/2001/XMLSchema"; />
  <types>
    <xsd:schema targetNamespace="http://soap.vindicia.com/wai";>
  <xsd:simpleType name="CommunicateStatus">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="New" />
      <xsd:enumeration value="Retrieval" />
      <xsd:enumeration value="Responded" />
      <xsd:enumeration value="Legitimate" />
      <xsd:enumeration value="Challenged" />
      <xsd:enumeration value="Represented" />
      <xsd:enumeration value="Won" />
      <xsd:enumeration value="Lost" />
      <xsd:enumeration value="CollectionsNew" />
      <xsd:enumeration value="CollectionsWon" />
      <xsd:enumeration value="CollectionsLost" />
    </xsd:restriction>
  </xsd:simpleType>
    </xsd:schema>
 </types>
  <message name="update_in">
    <part name="CommunicateStatus" type="tns:CommunicateStatus" />
  </message>
  <portType name="waiPortType">
    <operation name="update" parameterOrder="CommunicateStatus">
      <input message="tns:update_in" />
      <output message="tns:update_in" />
    </operation>
  </portType>
  <binding name="waiBinding" type="tns:waiPortType">
    <soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"; />
    <operation name="update">
      <soap:operation soapAction="http://soap.vindicia.com/wai#update"; />
      <input>
        <soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://soap.vindicia.com/wai"; use="encoded" />
      </input>
      <output>
        <soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://soap.vindicia.com/wai"; use="encoded" />
      </output>
    </operation>
  </binding>
  <service name="wai">
    <port binding="tns:waiBinding" name="waiPort">
      <soap:address location="https://soap.vindicia.com/v2.0/soap.pl"; />
    </port>
  </service>
</definitions>

Here is the warning I am getting from the wsdl2ws stub  generate
-------------------------------
java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -oAxis-cpp-stubs  -sclient
-verbose -lc++  http://10.150.1.221:5000/soap/2.0/wai.wsdl
---------{http://soap.vindicia.com/wai}CommunicateStatus------------
languageSpecificName = CommunicateStatus
enumerationType = {http://www.w3.org/2001/XMLSchema}string
(,{New}enumeration,{Retrieval}enumeration,{Responded}enumeration,{Legitimate}enumeration,{Challenged}enumeration,{Represented}enumeration,{Won}enumeration,{Lost}enumeration,{CollectionsNew}enumeration,{CollectionsWon}enumeration,{CollectionsLost}enumeration)
------------------------------------------------------

CommunicateStatusLanguageName  ....................
Output Parameter type Name :CommunicateStatus
/tmp/tmp1/Axis-cpp-stubs/waiPortType.cpp created.....
/tmp/tmp1/Axis-cpp-stubs/waiPortType.hpp created.....
struct writer called ......
Possible error in class CommunicateStatus: class with no
attributes....................
Possible error in class CommunicateStatus: class with no
attributes....................
/tmp/tmp1/Axis-cpp-stubs/CommunicateStatus.cpp created.....
/tmp/tmp1/Axis-cpp-stubs/CommunicateStatus.hpp created.....

Code generation completed.
-------------------------------


Reply via email to