Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Publishing Crystal Report. ASP,NET

Status
Not open for further replies.

RaviPopli

Programmer
Nov 15, 2002
1
IN
Problem in Publishing Crystal Report.

We are creating crystal reports in web services. Then we are publishing these report as web services .
When we add the references of this service in our project, we are only able to access the
the last publish report as web service. We are giving below the part of the code of reference.vb related
to report service


'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.0.3705.0
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.0.
'
Namespace dotnetsrv

'<remarks/>
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.ComponentModel.DesignerCategoryAttribute(&quot;code&quot;), _
System.Web.Services.WebServiceBindingAttribute(Name:=&quot;rptAmmendedPOServiceSoap&quot;, [Namespace]:=&quot; _
System.Xml.Serialization.XmlIncludeAttribute(GetType(ParameterValue))> _
Public Class rptAmmendedPOServiceSoap
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol

'<remarks/>
Public Sub New()
MyBase.New
Me.Url = &quot; End Sub

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetGroupLevelData(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal request As GroupLevelDataRequest) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;GetGroupLevelData&quot;, New Object() {request})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginGetGroupLevelData(ByVal request As GroupLevelDataRequest, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;GetGroupLevelData&quot;, New Object() {request}, callback, asyncState)
End Function

'<remarks/>
Public Function EndGetGroupLevelData(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetReportInfo(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As RequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;GetReportInfo&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginGetReportInfo(ByVal reqContext As RequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;GetReportInfo&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndGetReportInfo(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function Export(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As ExportRequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;Export&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginExport(ByVal reqContext As ExportRequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;Export&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndExport(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function Refresh(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As RequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;Refresh&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginRefresh(ByVal reqContext As RequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;Refresh&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndRefresh(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function DrillGraph(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As DrillDownRequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;DrillGraph&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginDrillGraph(ByVal reqContext As DrillDownRequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;DrillGraph&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndDrillGraph(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function FindGroup(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As FindGroupContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;FindGroup&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginFindGroup(ByVal reqContext As FindGroupContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;FindGroup&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndFindGroup(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function FindText(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As FindTextRequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;FindText&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginFindText(ByVal reqContext As FindTextRequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;FindText&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndFindText(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetLastPageNumber(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As ReportPageRequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;GetLastPageNumber&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginGetLastPageNumber(ByVal reqContext As ReportPageRequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;GetLastPageNumber&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndGetLastPageNumber(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetTotaller(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As TotallerRequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;GetTotaller&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginGetTotaller(ByVal reqContext As TotallerRequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;GetTotaller&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndGetTotaller(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetPage(<System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ByVal reqContext As PageRequestContext) As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;GetPage&quot;, New Object() {reqContext})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginGetPage(ByVal reqContext As PageRequestContext, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;GetPage&quot;, New Object() {reqContext}, callback, asyncState)
End Function

'<remarks/>
Public Function EndGetPage(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute(&quot; RequestNamespace:=&quot; ResponseNamespace:=&quot; Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function TestReport() As <System.Xml.Serialization.XmlElementAttribute(IsNullable:=true)> ResponseContext
Dim results() As Object = Me.Invoke(&quot;TestReport&quot;, New Object(-1) {})
Return CType(results(0),ResponseContext)
End Function

'<remarks/>
Public Function BeginTestReport(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke(&quot;TestReport&quot;, New Object(-1) {}, callback, asyncState)
End Function

'<remarks/>
Public Function EndTestReport(ByVal asyncResult As System.IAsyncResult) As ResponseContext
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),ResponseContext)
End Function
End Class
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top