WCF - How do I return a success or failure message using Message Contracts

it.thuongnguyen

New Member
Im using SOAP/XML with MessageContracts and have to return a specified format similar to the following:If validation is successful:\[code\]<env:Envelope> <env:Body> <Success xmlns="http://tempuri.org"></Success> </env:Body></env:Envelope>\[/code\]If it is unsuccessful:\[code\]<env:Envelope> <env:Body> <Failure xmlns="http://tempuri.org"></Failure> </env:Body></env:Envelope>\[/code\]
 
Back
Top