Unable to add SSRS wsdl file in add web reference

  • Hi,

    We have SQL Server 2005 SSRS with SP3 amd I'm trying to add SSRS wsdl file in add web reference as below from Visual studio BUT I'm Unable to add that to web reference (http://servername/ReportServer/ReportService2006.asmx?wsdl) and I'm NOT getting any error.

    I can see that wsdl file is generating duplicate values for <s:element minOccurs="0" maxOccurs="1" name="ScheduleDefinition" type="tns:ScheduleDefinition" /> , when browse the below:

    http://localhost/ReportServer/ReportService2006.asmx

    - <s:element name="SetReportHistoryOptions">

    - <s:complexType>

    - <s:sequence>

    <s:element minOccurs="0" maxOccurs="1" name="Report" type="s:string" />

    <s:element minOccurs="1" maxOccurs="1" name="EnableManualSnapshotCreation" type="s:boolean" />

    <s:element minOccurs="1" maxOccurs="1" name="KeepExecutionSnapshots" type="s:boolean" />

    - <s:choice minOccurs="1" maxOccurs="1">

    <s:element minOccurs="0" maxOccurs="1" name="ScheduleDefinition" type="tns:ScheduleDefinition" />

    <s:element minOccurs="0" maxOccurs="1" name="NoSchedule" type="tns:NoSchedule" />

    <s:element minOccurs="0" maxOccurs="1" name="ScheduleDefinition" type="tns:ScheduleDefinition" />

    <s:element minOccurs="0" maxOccurs="1" name="ScheduleReference" type="tns:ScheduleReference" />

    </s:choice>

    </s:sequence>

    </s:complexType>

    </s:element>

    - <s:element name="SetReportHistoryOptionsResponse">

    any idea why its generating duplicates and is may be the reason to unable to add as web reference/

    thanks

Viewing post 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply