Receiving plain XML in .NET WCF service?

If you define parameter as String you have to pass encoded XML - like . If you need to pass unencoded XML try to use XmlElement or XElement as a parameter.

The problem here isn't the string or input-parameter type, but the OperationFormatter-exception. It happens no matter what I set as the inputtype. – Yngve B.

Nilsen Aug 18 '10 at 10:43 Sorry my fault, I skipped initial paragraph of your question. If you build router you should work with Message type directly (return type of operation has to be also Message). You can't just define string parameter and expect that it will be filled with XML.

You can also try to use XmlElement or XElement as parameter type. Alex already showed you an example. – Ladislav Mrnka Aug 19 '10 at 21:32.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions