Hello
How can I call implement my COM+ service to receive a stream as an argument
to one of my methodes.
As It is today I can receive strings,bytes and integers but when I try it
with a stream I get this error message:
"This remoting proxy has no channel sink which means either the server has
no registered server channels that are listening, or this application has no
suitable client channel to talk to the server. "
Which I think is because it can't find a method with this type of structure
My COM+ code looks something like this
Imports System.IO
Public Class WriteFile
Inherits System.EnterpriseServices.ServicedComponent -This
works fine
Public Sub WriteString(ByVal str As String)
....
End Sub
Public Sub WriteStream(ByVal strm As StreamWriter) -This
doesn't work at all
...
End Sub
End Class
I call my COM+ with
wf = CreateObject("WriteFile")
wf.WriteString("hello world")
wf.WStream(myStreamWriter)
Any help possible is appreciated
Best Regards
Magnus