I have a WCF service which has this function:
Public Function ObtenerGruposYAnalisisYConclusionesPredefinidas() As Object() Implements ISrvConclusionesNotas.ObtenerGruposYAnalisisYConclusionesPredefinidas
Dim conclus As New ConclusionesNotasDL
Return conclus.ObtenerGruposYAnalisisYConclusionesPredefinidas()
End Function
which returns the values specified here:
Public Function ObtenerGruposYAnalisisYConclusionesPredefinidas() As Object()
Dim objeto(2) As Object
objeto(0) = ObtenerGruposAnalisis()
objeto(1) = ObtenerAnalisis()
objeto(2) = ObtenerConclusionesPredefinidas()
Return objeto
End Function
Each one of this functions returns a List of entities.
If I call this functions individually they return their values ok. But what I want is to make only one call to the service and no several!
I want to be able to receive it in another application like this:
Dim concluNotas As SrvConclusionesYNotas.SrvConclusionesNotasClient = New SrvConclusionesYNotas.SrvConclusionesNotasClient
Dim objeto() As Object = concluNotas.ObtenerGruposYAnalisisYConclusionesPredefinidas()
What should I do?
Do I have to serialize it some way? The process is working great in the service, but in the other app is not receiving the object and I have an exception which suggests this is not supported by http (sending a object array).