I have a database which stores some serialized (byte[]) objects.

Scenario #1 (Working):

I connect to the database, locally, deserialize, and use reflection to
invoke a member on that object, and successfully get a response with no
issues.


Scenario #2 (Not Working):

I connect to the database, remotely via web services using byte[]'s to
send the data over the wire, deserialize and use reflection to invoke a
member on that object.  For some reason the program simply stops at the
.InvokeMember().  I can deserialize everything fine, and work with these
objects directly.  Examining these objects in the debugger works fine,
and I don't see anything out of the ordinary with them.

------

The only difference between these two cases is how I get the object to
send into the testing engine.  Locally (directly via ado.net), or
remotely (ado.net then over a web service).

Not that its much use but this is where im having the issue:

result = tDyn.InvokeMember(
        Request.OperationName,
        BindingFlags.Public | BindingFlags.InvokeMethod
|BindingFlags.Instance |BindingFlags.Static,
        null,
        obj,
        args);


In Scenario #2 execution simply sits on this line, and does nothing. No
exception is thrown, and it doesn't proceed any further.  As far as I
can tell nothing is acutally beind done at all.  If I change
"Request.OperationName" to something invalid it will throw an exception.
Given the fact that I can actually deserialze these objects into their
correct and original types, and that Scenario #1 works fine, I don't
belive it has anything to do with what exactly im doing.  That is, the
serialization and deserialization must be working correctly, and the
call to InvokeMember() is working correctly.

The object that im working with is an automatcially generated proxy
object for a known (and alive) web service.  The InvokeMember() is
calling a method on the Proxy, and attempting to execute the method over
web services.  Im sure this is where the issue lies but I have no idea
what to look into.  Lastly, this is multi-threaded so it is attempting
to execute 3 separate proxy's each in their own thread (which seems
fine, again cus scenario #1 is correct).

Can anyone suggest anything that I can try, test, or look into?  Any
ideas at all?

Thanks!

Robert Chartier
VP Technology
Santra Technology
604-580-2858

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
You may be interested in Guerrilla .NET, 24 March 2003, in London and Boston
http://www.develop.com/courses/gdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to