Hello,
hope someone can help because I am stuck :-(

I am writing a WCF Service client using monotouch. 
Everything works fine until I throw an Faultexception from my service.
I get a deserialization-error telling me the following:
"Expected element 'ExceptionDetail' in namespace
'http://schemas.datacontract.org/2004/07/System.ServiceModel', but found
Element node 'MyException' in namespace
'http://schemas.datacontract.org/2004/07/WCFHttp'"
where MyException is my own exception and WCFHttp is my endpoint.

I generated a client with VS2010 and everything works fine.
So I took the generated classes for the exception out of the VS2010 client
and pasted it into the proxyclass of my Mono-Project (Reference.cs). I also
added the System.ServiceModel.FaultContractAttribute to the
interface-methods that call the service method throwing the exception. That
took no effect at all.

Hope someone has had the same problem and can give me a few hints how to
solve that issue.

regards
Christian

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Catching-WCF-FaultException-not-working-tp3593617p3593617.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to