code_junkie

Writing C# client to consume a Java web service that returns array of objects

Nov 10th, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. MyResponse[] MyFunc(string p)
  2.  
  3. class MyResponse
  4. {
  5. long id;
  6. string reason;
  7. }
  8.  
  9. <import namespace="http://mynamespace.company.com"/>
  10.  
  11. xmlns="http://mynamespace.company.com"
  12.  
  13. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://mynamespace.company.com")]
  14. public partial class MyResponse {
Add Comment
Please, Sign In to add comment