"Jens Jensen" <jj@jensen.dkwrote in message
news:#N**************@TK2MSFTNGP04.phx.gbl...
Does Microsoft now support Document style web service as part of .NET 3.0
(Windows communication foundations)?
Yes. They have been supported and encouraged since .NET 1.0.
Specifying Data Transfer in Service Contracts
http://msdn2.microsoft.com/en-us/library/ms732038.aspx
EG:
[ServiceContract, DataContractFormat(Style = OperationFormatStyle.Rpc)]
interface ICalculator
{
[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Rpc)]
double Add(double a, double b);
[OperationContract, DataContractFormat(Style =
OperationFormatStyle.Document)]
double Subtract(double a, double b);
}
DataContractFormatAttribute Class
http://msdn2.microsoft.com/en-us/lib...attribute.aspx
David