I Have Form In Which I Used Web Refernces.. called ServiceReference2...
in which I have Called The One of Function Which is Define In Web Service
Dim outputs As New List(Of ServiceReference2.InboundOutput)
Dim ins As New List(Of ServiceReference2.Inbound)
Dim objinbound() As ServiceReference2.Inbound
ReDim objinbound(100)
Dim objinbound2 As New ServiceReference2.Inbound
Dim objinbound3 As New ServiceReference2.Inbound
Dim j1 As New ServiceReference2.InboundDeliveryClient
dim success as boolean
success = j1.Authnetication(deliverystatus, outputs, uid, pass, "Yes", ins)
when i build my project I am Getting Following error....
1> Value of type 'System.Collections.Generic.List(Of ServiceReference2.InboundOutput)' cannot be converted to 'String'.
2> Value of type 'System.Collections.Generic.List(Of ServiceReference2.Inbound)' cannot be converted to '1-dimensional array of ServiceReference2.InboundOutput'.
3> Value of type 'String' cannot be converted to '1-dimensional array of ServiceReference2.Inbound'.
when i go to the defination of Function it shows like this
Public Function Authnetication(
ByVal strUserId As String,
ByVal strPwd As String,
ByVal Flag As String,
ByVal objInbound() As ServiceReference2.Inbound,
ByRef strDeliveryStatus As String,
ByRef lstInboundOP() As ServiceReference2.InboundOutput
) As Boolean Member of ServiceReference2.InboundDeliveryClient
where as it actually...
Public Function Authnetication(
ByRef strDeliveryStatus As String,
ByRef lstInboundOP As System.Collections.Generic.List(Of ServiceReference2.InboundOutput),
ByVal strUserId As String,
ByVal strPwd As String,
ByVal Flag As String,
ByVal objInbound As System.Collections.Generic.List(Of ServiceReference2.Inbound)
) As Boolean Member of ServiceReference2.InboundDeliveryClient
When I run the Same Above Code in Other Machine It Work Properly
is their any issue with .net framework or with my pc....
Thank You....