C#,vb.net,MVC,Jquery,javascript,jscript,vbscript,html,vb,sharepoint,COM,WPF,WCF,Wwf,Asp,Asp.net,questions & answers,

Latest in Sports

Friday, July 13, 2012

Upgrade Webservice to WCF Service using c# or Vb.net


WCF Masters,
                     We have a requirement to upgrade a Web service (which takes a XML string as input and returns an XML string), to WCF Service.
What is the best approach to form Custom Business Objects ( DataContracts )  to pass to the WCF service strongly typed object instead of XML string as input.
i.e. Is there any better practice, instead of creating manually the DataContract corresponding to each unique element of the input XML string [ with attributes of the XML as fields of the DataContract ]

No comments:

Post a Comment