Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1224

Error in WSDL2C while generating stubs in C

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • wsdl2c tool
    • None
    • Windows 2003, jdk1.5

    Description

      We are trying to generate C code with WSDL2C tool. We are running WSDL2C.bat as follows:

      WSDL2C.bat -uri D:\Axis2c\bin\tools\wsdl2c\PublicReportService.wsdl -d adb -u

      The WSDL file is as below:

      <?xml version="1.0" encoding="UTF-8"?>
      <wsdl:definitions targetNamespace="http://xmlns.oracle.com/oxp/service/PublicReportService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://xmlns.oracle.com/oxp/service/PublicReportService" xmlns:intf="http://xmlns.oracle.com/oxp/service/PublicReportService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <!--WSDL created by Apache Axis version: 1.3
      Built on Oct 05, 2005 (05:23:37 EDT)-->
      <wsdl:types>
      <schema targetNamespace="http://xmlns.oracle.com/oxp/service/PublicReportService" xmlns="http://www.w3.org/2001/XMLSchema">
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <complexType name="ArrayOf_xsd_string">
      <complexContent>
      <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
      </restriction>
      </complexContent>
      </complexType>
      <complexType name="ParamNameValue">
      <sequence>
      <element name="multiValuesAllowed" type="xsd:boolean"/>
      <element name="name" nillable="true" type="xsd:string"/>
      <element name="values" nillable="true" type="impl:ArrayOf_xsd_string"/>
      </sequence>
      </complexType>
      <complexType name="ArrayOfParamNameValue">
      <complexContent>
      <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ParamNameValue[]"/>
      </restriction>
      </complexContent>
      </complexType>
      <complexType name="ReportRequest">
      <sequence>
      <element name="attributeFormat" nillable="true" type="xsd:string"/>
      <element name="attributeLocale" nillable="true" type="xsd:string"/>
      <element name="attributeTemplate" nillable="true" type="xsd:string"/>
      <element name="parameterNameValues" nillable="true" type="impl:ArrayOfParamNameValue"/>
      <element name="reportAbsolutePath" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="AccessDeniedException">
      <sequence/>
      </complexType>
      <complexType name="OperationFailedException">
      <sequence/>
      </complexType>
      <complexType name="InvalidParametersException">
      <sequence/>
      </complexType>
      <complexType name="ReportResponse">
      <sequence>
      <element name="reportBytes" nillable="true" type="xsd:base64Binary"/>
      <element name="reportContentType" nillable="true" type="xsd:string"/>
      <element name="reportLocale" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="ReportDefinition">
      <sequence>
      <element name="defaultOutputFormat" nillable="true" type="xsd:string"/>
      <element name="defaultTemplateId" nillable="true" type="xsd:string"/>
      <element name="parameterNames" nillable="true" type="impl:ArrayOf_xsd_string"/>
      <element name="reportParameterNameValues" nillable="true" type="impl:ArrayOfParamNameValue"/>
      <element name="templateIds" nillable="true" type="impl:ArrayOf_xsd_string"/>
      </sequence>
      </complexType>
      <complexType name="ItemData">
      <sequence>
      <element name="absolutePath" nillable="true" type="xsd:string"/>
      <element name="creationDate" nillable="true" type="xsd:dateTime"/>
      <element name="displayName" nillable="true" type="xsd:string"/>
      <element name="fileName" nillable="true" type="xsd:string"/>
      <element name="lastModified" nillable="true" type="xsd:dateTime"/>
      <element name="lastModifier" nillable="true" type="xsd:string"/>
      <element name="owner" nillable="true" type="xsd:string"/>
      <element name="parentAbsolutePath" nillable="true" type="xsd:string"/>
      <element name="type" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="ArrayOfItemData">
      <complexContent>
      <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:ItemData[]"/>
      </restriction>
      </complexContent>
      </complexType>
      <complexType name="EMailDeliveryOption">
      <sequence>
      <element name="emailBCC" nillable="true" type="xsd:string"/>
      <element name="emailBody" nillable="true" type="xsd:string"/>
      <element name="emailCC" nillable="true" type="xsd:string"/>
      <element name="emailFrom" nillable="true" type="xsd:string"/>
      <element name="emailReplyTo" nillable="true" type="xsd:string"/>
      <element name="emailSubject" nillable="true" type="xsd:string"/>
      <element name="emailTo" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="FaxDeliveryOption">
      <sequence>
      <element name="faxNumber" nillable="true" type="xsd:string"/>
      <element name="faxServer" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="FTPDeliveryOption">
      <sequence>
      <element name="ftpServerName" nillable="true" type="xsd:string"/>
      <element name="ftpUserName" nillable="true" type="xsd:string"/>
      <element name="ftpUserPassword" nillable="true" type="xsd:string"/>
      <element name="remoteFile" nillable="true" type="xsd:string"/>
      <element name="sftpOption" type="xsd:boolean"/>
      </sequence>
      </complexType>
      <complexType name="LocalDeliveryOption">
      <sequence>
      <element name="destination" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="PrintDeliveryOption">
      <sequence>
      <element name="printNumberOfCopy" nillable="true" type="xsd:string"/>
      <element name="printRange" nillable="true" type="xsd:string"/>
      <element name="printSide" nillable="true" type="xsd:string"/>
      <element name="printTray" nillable="true" type="xsd:string"/>
      <element name="printerName" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="WebDAVDeliveryOption">
      <sequence>
      <element name="deliveryAuthType" nillable="true" type="xsd:string"/>
      <element name="deliveryAuthTypeBasic" nillable="true" type="xsd:string"/>
      <element name="deliveryAuthTypeDigest" nillable="true" type="xsd:string"/>
      <element name="password" nillable="true" type="xsd:string"/>
      <element name="remoteFilePath" nillable="true" type="xsd:string"/>
      <element name="server" nillable="true" type="xsd:string"/>
      <element name="userName" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      <complexType name="DeliveryRequest">
      <sequence>
      <element name="emailOption" nillable="true" type="impl:EMailDeliveryOption"/>
      <element name="faxOption" nillable="true" type="impl:FaxDeliveryOption"/>
      <element name="ftpOption" nillable="true" type="impl:FTPDeliveryOption"/>
      <element name="localOption" nillable="true" type="impl:LocalDeliveryOption"/>
      <element name="printOption" nillable="true" type="impl:PrintDeliveryOption"/>
      <element name="webDAVOption" nillable="true" type="impl:WebDAVDeliveryOption"/>
      </sequence>
      </complexType>
      <complexType name="ScheduleRequest">
      <sequence>
      <element name="deliveryRequest" nillable="true" type="impl:DeliveryRequest"/>
      <element name="endDate" nillable="true" type="xsd:dateTime"/>
      <element name="jobCalendar" nillable="true" type="xsd:string"/>
      <element name="jobLocale" nillable="true" type="xsd:string"/>
      <element name="jobTZ" nillable="true" type="xsd:string"/>
      <element name="notificationTo" nillable="true" type="xsd:string"/>
      <element name="notifyWhenFailed" type="xsd:boolean"/>
      <element name="notifyWhenSuccess" type="xsd:boolean"/>
      <element name="notifyWhenWarning" type="xsd:boolean"/>
      <element name="repeatCount" type="xsd:int"/>
      <element name="repeatInterval" type="xsd:int"/>
      <element name="reportRequest" nillable="true" type="impl:ReportRequest"/>
      <element name="saveDataOption" type="xsd:boolean"/>
      <element name="saveOutputOption" type="xsd:boolean"/>
      <element name="scheduleBurstringOption" type="xsd:boolean"/>
      <element name="schedulePublicOption" type="xsd:boolean"/>
      <element name="startDate" nillable="true" type="xsd:dateTime"/>
      <element name="useUTF8Option" type="xsd:boolean"/>
      <element name="userJobName" nillable="true" type="xsd:string"/>
      </sequence>
      </complexType>
      </schema>
      </wsdl:types>

      <wsdl:message name="getReportParametersResponse">

      <wsdl:part name="getReportParametersReturn" type="impl:ArrayOfParamNameValue"/>

      </wsdl:message>

      <wsdl:message name="getReportDefinitionResponse">

      <wsdl:part name="getReportDefinitionReturn" type="impl:ReportDefinition"/>

      </wsdl:message>

      <wsdl:message name="getReportParametersRequest">

      <wsdl:part name="reportRequest" type="impl:ReportRequest"/>

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="hasReportAccessResponse">

      <wsdl:part name="hasReportAccessReturn" type="xsd:boolean"/>

      </wsdl:message>

      <wsdl:message name="AccessDeniedException">

      <wsdl:part name="fault" type="impl:AccessDeniedException"/>

      </wsdl:message>

      <wsdl:message name="validateLoginResponse">

      <wsdl:part name="validateLoginReturn" type="xsd:boolean"/>

      </wsdl:message>

      <wsdl:message name="scheduleReportResponse">

      <wsdl:part name="scheduleReportReturn" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="runReportResponse">

      <wsdl:part name="runReportReturn" type="impl:ReportResponse"/>

      </wsdl:message>

      <wsdl:message name="OperationFailedException">

      <wsdl:part name="fault" type="impl:OperationFailedException"/>

      </wsdl:message>

      <wsdl:message name="getFolderContentsRequest">

      <wsdl:part name="folderAbsolutePath" type="xsd:string"/>

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="hasReportAccessRequest">

      <wsdl:part name="reportAbsolutePath" type="xsd:string"/>

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="getReportDefinitionRequest">

      <wsdl:part name="reportAbsolutePath" type="xsd:string"/>

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="getFolderContentsResponse">

      <wsdl:part name="getFolderContentsReturn" type="impl:ArrayOfItemData"/>

      </wsdl:message>

      <wsdl:message name="InvalidParametersException">

      <wsdl:part name="fault" type="impl:InvalidParametersException"/>

      </wsdl:message>

      <wsdl:message name="scheduleReportRequest">

      <wsdl:part name="scheduleRequest" type="impl:ScheduleRequest"/>

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="runReportRequest">

      <wsdl:part name="reportRequest" type="impl:ReportRequest"/>

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:message name="validateLoginRequest">

      <wsdl:part name="userID" type="xsd:string"/>

      <wsdl:part name="password" type="xsd:string"/>

      </wsdl:message>

      <wsdl:portType name="PublicReportService">

      <wsdl:operation name="getReportParameters" parameterOrder="reportRequest userID password">

      <wsdl:input message="impl:getReportParametersRequest" name="getReportParametersRequest"/>

      <wsdl:output message="impl:getReportParametersResponse" name="getReportParametersResponse"/>

      <wsdl:fault message="impl:AccessDeniedException" name="AccessDeniedException"/>

      <wsdl:fault message="impl:OperationFailedException" name="OperationFailedException"/>

      <wsdl:fault message="impl:InvalidParametersException" name="InvalidParametersException"/>

      </wsdl:operation>

      <wsdl:operation name="validateLogin" parameterOrder="userID password">

      <wsdl:input message="impl:validateLoginRequest" name="validateLoginRequest"/>

      <wsdl:output message="impl:validateLoginResponse" name="validateLoginResponse"/>

      </wsdl:operation>

      <wsdl:operation name="runReport" parameterOrder="reportRequest userID password">

      <wsdl:input message="impl:runReportRequest" name="runReportRequest"/>

      <wsdl:output message="impl:runReportResponse" name="runReportResponse"/>

      <wsdl:fault message="impl:AccessDeniedException" name="AccessDeniedException"/>

      <wsdl:fault message="impl:OperationFailedException" name="OperationFailedException"/>

      <wsdl:fault message="impl:InvalidParametersException" name="InvalidParametersException"/>

      </wsdl:operation>

      <wsdl:operation name="getReportDefinition" parameterOrder="reportAbsolutePath userID password">

      <wsdl:input message="impl:getReportDefinitionRequest" name="getReportDefinitionRequest"/>

      <wsdl:output message="impl:getReportDefinitionResponse" name="getReportDefinitionResponse"/>

      <wsdl:fault message="impl:AccessDeniedException" name="AccessDeniedException"/>

      <wsdl:fault message="impl:OperationFailedException" name="OperationFailedException"/>

      <wsdl:fault message="impl:InvalidParametersException" name="InvalidParametersException"/>

      </wsdl:operation>

      <wsdl:operation name="getFolderContents" parameterOrder="folderAbsolutePath userID password">

      <wsdl:input message="impl:getFolderContentsRequest" name="getFolderContentsRequest"/>

      <wsdl:output message="impl:getFolderContentsResponse" name="getFolderContentsResponse"/>

      <wsdl:fault message="impl:AccessDeniedException" name="AccessDeniedException"/>

      <wsdl:fault message="impl:OperationFailedException" name="OperationFailedException"/>

      <wsdl:fault message="impl:InvalidParametersException" name="InvalidParametersException"/>

      </wsdl:operation>

      <wsdl:operation name="scheduleReport" parameterOrder="scheduleRequest userID password">

      <wsdl:input message="impl:scheduleReportRequest" name="scheduleReportRequest"/>

      <wsdl:output message="impl:scheduleReportResponse" name="scheduleReportResponse"/>

      <wsdl:fault message="impl:AccessDeniedException" name="AccessDeniedException"/>

      <wsdl:fault message="impl:OperationFailedException" name="OperationFailedException"/>

      <wsdl:fault message="impl:InvalidParametersException" name="InvalidParametersException"/>

      </wsdl:operation>

      <wsdl:operation name="hasReportAccess" parameterOrder="reportAbsolutePath userID password">

      <wsdl:input message="impl:hasReportAccessRequest" name="hasReportAccessRequest"/>

      <wsdl:output message="impl:hasReportAccessResponse" name="hasReportAccessResponse"/>

      <wsdl:fault message="impl:InvalidParametersException" name="InvalidParametersException"/>

      </wsdl:operation>

      </wsdl:portType>

      <wsdl:binding name="PublicReportServiceSoapBinding" type="impl:PublicReportService">

      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="getReportParameters">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="getReportParametersRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="getReportParametersResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      <wsdl:fault name="AccessDeniedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AccessDeniedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="OperationFailedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="OperationFailedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="InvalidParametersException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="InvalidParametersException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="validateLogin">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="validateLoginRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="validateLoginResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="runReport">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="runReportRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="runReportResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      <wsdl:fault name="AccessDeniedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AccessDeniedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="OperationFailedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="OperationFailedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="InvalidParametersException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="InvalidParametersException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="getReportDefinition">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="getReportDefinitionRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="getReportDefinitionResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      <wsdl:fault name="AccessDeniedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AccessDeniedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="OperationFailedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="OperationFailedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="InvalidParametersException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="InvalidParametersException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="getFolderContents">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="getFolderContentsRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="getFolderContentsResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      <wsdl:fault name="AccessDeniedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AccessDeniedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="OperationFailedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="OperationFailedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="InvalidParametersException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="InvalidParametersException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="scheduleReport">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="scheduleReportRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="scheduleReportResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      <wsdl:fault name="AccessDeniedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="AccessDeniedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="OperationFailedException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="OperationFailedException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      <wsdl:fault name="InvalidParametersException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="InvalidParametersException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="hasReportAccess">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="hasReportAccessRequest">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:input>

      <wsdl:output name="hasReportAccessResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:output>

      <wsdl:fault name="InvalidParametersException">

      <wsdlsoap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="InvalidParametersException" namespace="http://xmlns.oracle.com/oxp/service/PublicReportService" use="encoded"/>

      </wsdl:fault>

      </wsdl:operation>

      </wsdl:binding>

      <wsdl:service name="PublicReportServiceService">

      <wsdl:port binding="impl:PublicReportServiceSoapBinding" name="PublicReportService">

      <wsdlsoap:address location="http://localhost:9704/xmlpserver/services/PublicReportService"/>

      </wsdl:port>

      </wsdl:service>

      </wsdl:definitions>

      Error thrown is as below:

      Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:153)
      at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
      at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
      Caused by: org.apache.axis2.AxisFault: Part 'fault' of fault message '

      {http://xmlns.oracle.com/oxp/service/PublicReportService}

      AccessDeniedException'
      must be defined with 'element=QName' and not 'type=QName'
      at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1240)
      at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:771)
      at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:538)
      at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:489)
      at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363)
      at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
      ... 2 more

      Please help us to rectify this error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mohinder Mohinder Verma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified