37 |
public Type ResolveType( String type ) |
public Type ResolveType( String type ) |
38 |
{ |
{ |
39 |
Type svcType = Type.GetType( type ); |
Type svcType = Type.GetType( type ); |
40 |
|
#ifdef __DEBUG__ |
41 |
Console.WriteLine( "Request Proc ThisType: {0}", svcType.ToString() ); |
Console.WriteLine( "Request Proc ThisType: {0}", svcType.ToString() ); |
42 |
|
#endif |
43 |
return svcType; |
return svcType; |
44 |
} |
} |
45 |
|
|
72 |
// Scan methods in class, looking for the requested |
// Scan methods in class, looking for the requested |
73 |
// |
// |
74 |
foreach(MethodInfo method in methods) { |
foreach(MethodInfo method in methods) { |
75 |
|
#ifdef __DEBUG__ |
76 |
Console.WriteLine( "Method: {0}", method.Name ); |
Console.WriteLine( "Method: {0}", method.Name ); |
77 |
|
#endif |
78 |
|
|
79 |
if( method.Name != methodname ) continue; |
if( method.Name != methodname ) continue; |
80 |
// See if method is a Webservice (indicated by attribute) |
// See if method is a Webservice (indicated by attribute) |