Enumeration value doesn't appear in client stub code
----------------------------------------------------
Key: AXISCPP-661
URL: http://issues.apache.org/jira/browse/AXISCPP-661
Project: Axis-C++
Type: Bug
Components: WSDL processing - Doc
Versions: 1.5 Final
Environment: OS: cygwin on WindowsXP
AxisJ: 1.2 Final
XercesJ: 2.6.2
Reporter: EcoKim
Priority: Critical
Attachments: StatService.wsdl
In below wsdl files all simple types has enumeration value.
But after making stubs from below wsdl, there is no enumeration value in
generated stubs and there are no classes for simple type's array.
=== WSDL ===
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
xmlns:intf="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://www.genesyslab.com/services/statservice/types/2002/03"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema
targetNamespace="http://www.genesyslab.com/services/statservice/types/2002/03"
xmlns="http://www.w3.org/2001/XMLSchema">
<import
namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<simpleType name="statisticStateType">
<restriction base="xsd:string">
<enumeration value="DNAction" />
<enumeration value="DNStatus" />
<enumeration value="AgentStatus" />
<enumeration value="GroupStatus" />
</restriction>
</simpleType>
<complexType name="statisticStates">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:statisticState[]" />
</restriction>
</complexContent>
</complexType>
<complexType name="parameter">
<sequence>
<element name="key" nillable="true"
type="xsd:string" />
<element name="value" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="parameters">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:parameter[]" />
</restriction>
</complexContent>
</complexType>
<complexType name="statisticStateData">
<sequence>
<element maxOccurs="1" minOccurs="0"
name="list"
nillable="true"
type="tns1:parameters" />
<element maxOccurs="1" minOccurs="0"
name="DNIS"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="ANI"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="loginID"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="switchID"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="dnType"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="agent"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="place"
nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="statisticState">
<sequence>
<element name="id" nillable="true"
type="xsd:string" />
<element name="type" nillable="true"
type="tns1:statisticStateType"
/>
<element name="state" nillable="true"
type="xsd:string" />
<element name="date" type="xsd:long" />
<element name="items" nillable="true"
type="tns1:statisticStates" />
<element maxOccurs="1" minOccurs="0"
name="extendedData"
nillable="true"
type="tns1:statisticStateData"
/>
</sequence>
</complexType>
<complexType name="eventValue">
<sequence>
<element name="date" type="xsd:long" />
<element name="intervalLength"
type="xsd:long" />
<element name="FValue" type="xsd:float"
/>
<element name="LValue" type="xsd:long"
/>
<element name="SValue" nillable="true"
type="xsd:string" />
<element name="stateValue"
nillable="true"
type="tns1:statisticState" />
</sequence>
</complexType>
<simpleType name="notificationMode">
<restriction base="xsd:string">
<enumeration value="Blocked" />
<enumeration value="Polling" />
</restriction>
</simpleType>
<complexType name="eventValues">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:eventValue[]" />
</restriction>
</complexContent>
</complexType>
<complexType name="statisticValue">
<sequence>
<element name="statisticId"
nillable="true"
type="xsd:string" />
<element name="eventValues"
nillable="true"
type="tns1:eventValues" />
</sequence>
</complexType>
<complexType name="retrieveStatisticResponse">
<sequence>
<element name="statisticValue"
nillable="true"
type="tns1:statisticValue" />
</sequence>
</complexType>
<complexType name="timeRangeType">
<sequence>
<element name="leftTime" type="xsd:int"
/>
<element name="rightTime"
type="xsd:int" />
</sequence>
</complexType>
<simpleType name="statisticalProfileType">
<restriction base="xsd:string">
<enumeration value="timeRangeProfile" />
<enumeration value="filterProfile" />
<enumeration value="timeProfile" />
<enumeration value="statisticalProfile"
/>
</restriction>
</simpleType>
<simpleType name="eventValueTypeType">
<restriction base="xsd:string">
<enumeration value="unknownValue" />
<enumeration value="lValue" />
<enumeration value="fValue" />
</restriction>
</simpleType>
<simpleType name="objectType">
<restriction base="xsd:string">
<enumeration value="Strategy" />
<enumeration value="InteractionQueue" />
<enumeration value="Tenant" />
<enumeration
value="CampaingCallingList" />
<enumeration value="CampaignGroup" />
<enumeration value="CallingList" />
<enumeration value="Campaign" />
<enumeration value="GroupQueues" />
<enumeration value="GroupPlaces" />
<enumeration value="GroupAgents" />
<enumeration value="RoutePoint" />
<enumeration value="Queue" />
<enumeration value="RegDN" />
<enumeration value="Place" />
<enumeration value="Agent" />
</restriction>
</simpleType>
<complexType name="objectTypes">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:objectType[]" />
</restriction>
</complexContent>
</complexType>
<complexType name="statisticTypeInfoType">
<sequence>
<element name="typeName" nillable="true"
type="xsd:string" />
<element name="type" nillable="true"
type="tns1:eventValueTypeType"
/>
<element name="objectTypes"
nillable="true"
type="tns1:objectTypes" />
</sequence>
</complexType>
<complexType name="statisticInfos">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:statisticTypeInfoType[]" />
</restriction>
</complexContent>
</complexType>
<simpleType name="timeIntervalType">
<restriction base="xsd:string">
<enumeration
value="SlidingSelectionWindow" />
<enumeration value="SlidingWindow" />
<enumeration value="GrowingWindow" />
</restriction>
</simpleType>
<complexType name="timeProfile">
<sequence>
<element name="key" nillable="true"
type="xsd:string" />
<element name="intervalType"
nillable="true"
type="tns1:timeIntervalType" />
<element name="value" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="timeProfiles">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:timeProfile[]" />
</restriction>
</complexContent>
</complexType>
<complexType name="profileInfo">
<sequence>
<element name="profileType"
nillable="true"
type="tns1:statisticalProfileType" />
<element name="statisticInfos"
nillable="true"
type="tns1:statisticInfos" />
<element name="timeProfiles"
nillable="true"
type="tns1:timeProfiles" />
<element name="filters" nillable="true"
type="tns1:parameters" />
<element name="timeRanges"
nillable="true"
type="tns1:parameters" />
</sequence>
</complexType>
<complexType name="retrieveStatisticalProfileResponse">
<sequence>
<element name="statisticalProfileInfo"
nillable="true"
type="tns1:profileInfo" />
</sequence>
</complexType>
<complexType name="objectIdType">
<sequence>
<element name="id" nillable="true"
type="xsd:string" />
<element name="tenantName"
nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="statisticSubscription">
<sequence>
<element name="scope" nillable="true"
type="xsd:string" />
<element name="statisticId"
nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="ArrayOf_subscription">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:statisticSubscription[]" />
</restriction>
</complexContent>
</complexType>
<complexType name="statisticSubscriptions">
<sequence>
<element name="statisticSubscription"
nillable="true"
type="tns1:ArrayOf_subscription" />
</sequence>
</complexType>
<complexType name="statisticValues">
<complexContent>
<restriction base="soapenc:Array">
<attribute
ref="soapenc:arrayType"
wsdl:arrayType="tns1:statisticValue[]" />
</restriction>
</complexContent>
</complexType>
<complexType
name="retrieveSubscribedStatisticsResponse">
<sequence>
<element name="statisticValues"
nillable="true"
type="tns1:statisticValues" />
</sequence>
</complexType>
<complexType name="actions">
<sequence>
<element maxOccurs="unbounded"
name="action"
nillable="true"
type="xsd:string" />
</sequence>
</complexType>
<complexType name="timeInterval">
<sequence>
<element name="intervalType"
nillable="true"
type="tns1:timeIntervalType" />
<element maxOccurs="1" minOccurs="0"
name="length"
nillable="true" type="xsd:int"
/>
<element maxOccurs="1" minOccurs="0"
name="slideLength"
nillable="true" type="xsd:int" />
<element maxOccurs="1" minOccurs="0"
name="timeProfileName"
nillable="true" type="xsd:string" />
</sequence>
</complexType>
<complexType name="statisticType">
<sequence>
<element name="objectType"
nillable="true"
type="tns1:objectTypes" />
<element name="category" nillable="true"
type="xsd:string" />
<element name="subject" nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="mainActions"
nillable="true" type="tns1:actions" />
<element maxOccurs="1" minOccurs="0"
name="relativeActions"
nillable="true" type="tns1:actions" />
</sequence>
</complexType>
<complexType name="metric">
<sequence>
<element maxOccurs="1" minOccurs="0"
name="typeName"
nillable="true"
type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="statisticType"
nillable="true" type="tns1:statisticType" />
<element name="interval" nillable="true"
type="tns1:timeInterval" />
<element maxOccurs="1" minOccurs="0"
name="filterName"
nillable="true" type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="timeRangeName"
nillable="true" type="xsd:string" />
<element maxOccurs="1" minOccurs="0"
name="timeRange"
nillable="true" type="tns1:timeRangeType" />
</sequence>
</complexType>
<simpleType name="scheduleMode">
<restriction base="xsd:string">
<enumeration value="ResetBased" />
<enumeration value="TimeBased" />
<enumeration value="ChangesBased" />
</restriction>
</simpleType>
<complexType name="schedule">
<sequence>
<element name="notificationMode"
nillable="true"
type="tns1:scheduleMode" />
<element maxOccurs="1" minOccurs="0"
name="timeout"
nillable="true" type="xsd:int"
/>
<element maxOccurs="1" minOccurs="0"
name="insensitivity"
nillable="true" type="xsd:int" />
</sequence>
</complexType>
<complexType name="statistic">
<sequence>
<element name="statisticId"
nillable="true"
type="xsd:string" />
<element name="objectId" nillable="true"
type="tns1:objectIdType" />
<element name="metric" nillable="true"
type="tns1:metric" />
<element maxOccurs="1" minOccurs="0"
name="schedule"
nillable="true"
type="tns1:schedule" />
</sequence>
</complexType>
<complexType name="notification">
<sequence>
<element name="mode" nillable="true"
type="tns1:notificationMode" />
<element name="timeout" nillable="true"
type="xsd:integer" />
</sequence>
</complexType>
<complexType name="unsolicitedNotification">
<sequence>
<element name="url" nillable="true"
type="xsd:string" />
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="retrieveStatisticResponse">
<wsdl:part name="retrieveStatisticResult"
type="tns1:retrieveStatisticResponse" />
</wsdl:message>
<wsdl:message name="subscribeStatisticResponse"></wsdl:message>
<wsdl:message name="unsubscribeStatisticResponse"></wsdl:message>
<wsdl:message name="retrieveSubscribedStatisticsRequest">
<wsdl:part name="subscriptions"
type="tns1:statisticSubscriptions" />
<wsdl:part name="notification" type="tns1:notification" />
</wsdl:message>
<wsdl:message name="retrieveStatisticalProfileRequest">
<wsdl:part name="resource" type="xsd:string" />
<wsdl:part name="profileType"
type="tns1:statisticalProfileType" />
</wsdl:message>
<wsdl:message name="retrieveSubscribedStatisticsResponse">
<wsdl:part name="retrieveSubscribedStatisticsResult"
type="tns1:retrieveSubscribedStatisticsResponse" />
</wsdl:message>
<wsdl:message name="retrieveStatisticalProfileResponse">
<wsdl:part name="retrieveStatisticalProfileResult"
type="tns1:retrieveStatisticalProfileResponse" />
</wsdl:message>
<wsdl:message name="unsubscribeStatisticRequest">
<wsdl:part name="statisticId" type="xsd:string" />
</wsdl:message>
<wsdl:message name="subscribeStatisticRequest">
<wsdl:part name="statistic" type="tns1:statistic" />
<wsdl:part name="resource" type="xsd:string" />
<wsdl:part name="remoting" type="tns1:unsolicitedNotification"
/>
</wsdl:message>
<wsdl:message name="retrieveStatisticRequest">
<wsdl:part name="statistic" type="tns1:statistic" />
<wsdl:part name="resource" type="xsd:string" />
</wsdl:message>
<wsdl:portType name="StatService">
<wsdl:operation name="subscribeStatistic"
parameterOrder="statistic resource remoting">
<wsdl:input message="impl:subscribeStatisticRequest"
name="subscribeStatisticRequest" />
<wsdl:output message="impl:subscribeStatisticResponse"
name="subscribeStatisticResponse" />
</wsdl:operation>
<wsdl:operation name="unsubscribeStatistic"
parameterOrder="statisticId">
<wsdl:input message="impl:unsubscribeStatisticRequest"
name="unsubscribeStatisticRequest" />
<wsdl:output message="impl:unsubscribeStatisticResponse"
name="unsubscribeStatisticResponse" />
</wsdl:operation>
<wsdl:operation name="retrieveSubscribedStatistics"
parameterOrder="subscriptions notification">
<wsdl:input
message="impl:retrieveSubscribedStatisticsRequest"
name="retrieveSubscribedStatisticsRequest" />
<wsdl:output
message="impl:retrieveSubscribedStatisticsResponse"
name="retrieveSubscribedStatisticsResponse" />
</wsdl:operation>
<wsdl:operation name="retrieveStatistic"
parameterOrder="statistic resource">
<wsdl:input message="impl:retrieveStatisticRequest"
name="retrieveStatisticRequest" />
<wsdl:output message="impl:retrieveStatisticResponse"
name="retrieveStatisticResponse" />
</wsdl:operation>
<wsdl:operation name="retrieveStatisticalProfile"
parameterOrder="resource profileType">
<wsdl:input
message="impl:retrieveStatisticalProfileRequest"
name="retrieveStatisticalProfileRequest" />
<wsdl:output
message="impl:retrieveStatisticalProfileResponse"
name="retrieveStatisticalProfileResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="StatServiceSoapBinding"
type="impl:StatService">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="subscribeStatistic">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="subscribeStatisticRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:input>
<wsdl:output name="subscribeStatisticResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="unsubscribeStatistic">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="unsubscribeStatisticRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:input>
<wsdl:output name="unsubscribeStatisticResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="retrieveSubscribedStatistics">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="retrieveSubscribedStatisticsRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:input>
<wsdl:output
name="retrieveSubscribedStatisticsResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="retrieveStatistic">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="retrieveStatisticRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:input>
<wsdl:output name="retrieveStatisticResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="retrieveStatisticalProfile">
<wsdlsoap:operation soapAction="" />
<wsdl:input name="retrieveStatisticalProfileRequest">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:input>
<wsdl:output name="retrieveStatisticalProfileResponse">
<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://www.genesyslab.com/services/statservice/wsdl/2002/03"
use="encoded" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="StatServiceService">
<wsdl:port binding="impl:StatServiceSoapBinding"
name="StatService">
<wsdlsoap:address
location="http://lexus:8080/gis/services/StatService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira