/[dgee]/dgee/examples/wstest.cs
ViewVC logotype

Diff of /dgee/examples/wstest.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by csmith, Tue Oct 28 00:32:27 2003 UTC revision 1.5 by csmith, Mon Nov 10 17:51:50 2003 UTC
# Line 41  namespace SomeServiceTest Line 41  namespace SomeServiceTest
41      {      {
42        return "Goodbye " + ToWho;        return "Goodbye " + ToWho;
43      }      }
44    
45        [WebMethod(Description="Test for DotGNU XmlRpcStruct - Recieving")]
46        public XmlRpcStruct getAStruct( int value1, int value2 )
47        {
48              XmlRpcStruct s = new XmlRpcStruct();
49              s.Add( "Value1", value1 );
50              s.Add( "Value2", value2 );
51    
52          return s;
53        }
54    
55        [WebMethod(Description="Test for DotGNU XmlRpcStruct - Sending")]
56        public int sendAStruct( XmlRpcStruct s )
57        {
58              int a = (int)s["Value1"];
59              int b = (int)s["Value2"];
60    
61              return ( a * b );
62        }
63    }    }
64  }  }
65    
66    // end

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26