Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Error add Service Reference hosted in IIS7 › Re: Error add Service Reference hosted in IIS7
Thanks it’s a good point.
Could you help me how I can switch to DataContractSerializer?
What should I change? I have a WCF Service which I consume in BTS and then BTS publish the Service in IIS 7.
In my WCF CODE
Old
[ServiceContract(Namespace = “http://myservice.ch/contract/IServices/v1”)]
public interface IMaxService
{
[OperationContract]
[FaultContract(typeof(IServices.ServiceModel.ServiceRequestFaultExceptionSystemFailure))]
MaxRequest MaxFunction(MaxRequest request);
——————————————————————————————————
New
[ServiceContract(Namespace = “http://myservice.ch/contract/IServices/v1”)]
public interface IMaxService
{
[OperationContract]
[DataContractFormat]
[FaultContract(typeof(IServices.ServiceModel.ServiceRequestFaultExceptionSystemFailure))]
MaxRequest MaxFunction(MaxRequest request);
Is there everthing else to change in BizTalk?