WCF Restful services getting error 400 (bad request) when post xml data?

That's because WCF is expecting the string you pass to be serialized using the Microsoft serialization namespace. If you send string xmlns='schemas.microsoft.com/2003/10/Serializat... via Post.

That's because WCF is expecting the string you pass to be serialized using the Microsoft serialization namespace. If you send, hello via Post then it will probably deserialize properly.

Darrel, Thanks. I tried your suggestion. But I still got the same error code 400.

For some reasons, if I passed any parameters via xml, the services failed to recognize the function. If I modified the function so that no parameters were passed, the function was successfully invoked. Any other suggestions?

– Wayne Lo Jun 17 '10 at 16:10 @Wayne Try putting the string inside a CDATA section. – Darrel Miller Jun 19 '10 at 18:29.

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