[RESOLVED] WCF Service problems
I can't seem to get even the simplest WCF Service working. May be something with my setup, I'm hoping you guys know. My service opens without errors in IE when I press Ctrl+F5. If I copy the URL, start wcftestclient.exe and paste the URL, I get a nice interface with the operations defined in my ServiceContract. So far so good. When I try to use one of the operations though, I get the following error message:
"The remote server returned an unexpected response: (400) Bad Request."
I'm running the Windows 7 Beta, could that be the problem? Or is this something completely different. I'm lost here, so any help is appreciated.
Re: [RESOLVED] WCF Service problems
Alright, sorry if my answers seem vague or unsatisfactory to you, WCF questions are usually quite hard to troubleshoot because of its inherent nature - a lot of code needs to be shown and the web.config is extremely important because they've abstracted it so that the XML does all the heavy lifting for you. You sometimes end up in these strange scenarios which are caused by things that you had never imagined before. :D
Re: [RESOLVED] WCF Service problems
I'm very happy with your answers. I mostly post here to get directions anyway. Don't want someone to solve my problems for me (well, sometimes I do!), just need a nudge in the right direction. It's only a hobby for me, nothing crucially important or on a deadline or anything. :)
You helped me a lot by asking for that section of web.config. It made me take a better look at that file, and I now understand what the svcconfigeditor tool does. So thanks again! :bigyello: