Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:33
work_to_live15-Jul-03 9:33 
GeneralFileSystemWatcher Pin
puppiesLover15-Jul-03 5:56
puppiesLover15-Jul-03 5:56 
GeneralReturning a collection class Pin
Andrew Bromfield15-Jul-03 4:26
Andrew Bromfield15-Jul-03 4:26 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:18
Frank Olorin Rizzi15-Jul-03 6:18 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:22
Andrew Bromfield15-Jul-03 6:22 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:28
Frank Olorin Rizzi15-Jul-03 6:28 
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:50
Andrew Bromfield15-Jul-03 6:50 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 7:18
Frank Olorin Rizzi15-Jul-03 7:18 
Andrew,
I have no experience of .NET remoting, nor actually of mizing languages...

At first sight I don't spot any red flag...
If the run-time error points to the line
search_results = CustomerFactory.findCustomer(customer_type);
in processCustomerSearch, and has to deal with the data types involved, I would try
and step through the code, to see exactly where the problem arises...

For instance, if you use the debugger and step into the call to findCustomer,
when you reach the last statement in that function (return search_result; ) is
everything in order?
If so, when you execute that last statement, and return control to processCustomerSearch, is everything still in order?
I would add a dummy statement between
ICustomerFactory CustomerFactory = (ICustomerFactory) Activator.GetObject(typeof (ICustomerFactory, "http://localhost:1234/customerfactory.soap");
and
search_results = CustomerFactory.findCustomer(customer_type);
and another one between
search_results = CustomerFactory.findCustomer(customer_type);
and
return search_results;
to set up a break point and check if everything is as it should...

I wish I could point you to the problem, but I don't see what could be the issue...
...if you want, post the error message, which might provide some hints...
but if I were in you, I'd be playing with the debugger over and over to see exactly *where* something goes out of synch... (for instance, does the call to Activator.GetObject in processCustomerSearch act as expected?)

As I said, I haven't played with this kind of stuff, so I might be a poor help on this one (sorry Smile | :)

FOR




GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 8:06
Andrew Bromfield15-Jul-03 8:06 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 12:19
Frank Olorin Rizzi15-Jul-03 12:19 
GeneralRe: Returning a collection class Pin
Andrew Bromfield16-Jul-03 4:13
Andrew Bromfield16-Jul-03 4:13 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi16-Jul-03 4:49
Frank Olorin Rizzi16-Jul-03 4:49 
GeneralRe: Returning a collection class Pin
Andrew Bromfield16-Jul-03 10:36
Andrew Bromfield16-Jul-03 10:36 
GeneralDrawing on Desktop Pin
Juergen15-Jul-03 3:48
Juergen15-Jul-03 3:48 
GeneralRe: Drawing on Desktop Pin
jtmtv1816-Jul-03 16:50
jtmtv1816-Jul-03 16:50 
GeneralRe: Drawing on Desktop Pin
Juergen16-Jul-03 22:08
Juergen16-Jul-03 22:08 
GeneralRe: Drawing on Desktop Pin
jtmtv1816-Jul-03 22:34
jtmtv1816-Jul-03 22:34 
GeneralRe: Drawing on Desktop Pin
Juergen16-Jul-03 22:47
Juergen16-Jul-03 22:47 
GeneralRe: Drawing on Desktop Pin
jtmtv1816-Jul-03 23:04
jtmtv1816-Jul-03 23:04 
GeneralSerialization in C# Pin
Stephane David14-Jul-03 22:38
Stephane David14-Jul-03 22:38 
GeneralRe: Serialization in C# Pin
Nathan Blomquist15-Jul-03 3:57
Nathan Blomquist15-Jul-03 3:57 
GeneralRe: Serialization in C# Pin
Stephane David15-Jul-03 4:33
Stephane David15-Jul-03 4:33 
GeneralRe: Serialization in C# Pin
Nathan Blomquist15-Jul-03 9:55
Nathan Blomquist15-Jul-03 9:55 
GeneralRe: Serialization in C# Pin
Anonymous16-Jul-03 6:03
Anonymous16-Jul-03 6:03 
GeneralMSMQ Question Pin
ripsi14-Jul-03 19:55
ripsi14-Jul-03 19:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.