Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <methodOne>
- <myValue>string</myValue>
- <myDemoGroup>
- <myDemoGroupItem>string</myDemoGroupItem>
- <myDemoGroupItem2>string</myDemoGroupItem2>
- </myDemoGroup>
- <myComplexGroup>
- <mySubStructure>
- <subItem1>string</subItem1>
- <subItem2>string</subItem2>
- </mySubStructure>
- </myComplexGroup
- </methodOne>
- [Web Method]
- public void MyWebMethod(MyWebMethodRequest methodOne)
- {
- //Do my stuff
- }
- public class MyWebMethodRequest
- {
- public string myValue {get; set;}
- public MyDemoGroupInfo myDemoGroup {get; set;}
- }
- public class MyDemoGroupInfo
- {
- public string myDemoGroupItem {get; set;}
- public string myDemoGroupItem2 {get; set;}
- }
- public class MyComplexGroupInfo
- {
- public List<MySubStructureInfo> mySubStructure {get; set;}
- }
- public class MySubStructureInfo
- {
- public string subItem1 {get; set;}
- public string subItem2 {get; set;}
- }
Add Comment
Please, Sign In to add comment