Guest User

Untitled

a guest
Jan 22nd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. public generatedClassResponse search (string p1, long p2);
  2.  
  3. public class searchRequest {
  4. //omitted non param const
  5.  
  6. [System.Diagnostics.DebuggerStepThroughAttribute()]
  7. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  8. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  9. [System.ServiceModel.MessageContractAttribute(WrapperName="searchEvents", WrapperNamespace="http://test.com/", IsWrapped=true)]
  10.  
  11. public searchRequest (string p1, long? p2) { //p2 type modified
  12. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://test.com/", Order=0)]
  13. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  14. public string P1
  15.  
  16. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://test.com/", Order=0)]
  17. [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
  18. public long2? P2
  19. }
  20. }
  21.  
  22. <search>
  23. <P1>blah</P1>
  24. <P2 xsi:nill="true"></P2>
  25. </search>
Add Comment
Please, Sign In to add comment