Jaap Vossers' SharePoint Blog

Just another WordPress.com site

Archive for the ‘Uncategorized’ Category

Custom WCF Service in SharePoint returning HTTP 400 Bad Request

with one comment

I followed the MSDN article Creating a Custom WCF Service in SharePoint Foundation to deploy my own custom WCF service into the ISAPI folder of SharePoint 2010. I was under the impression that browsing to the url where my .svc file was located would return some kind of WSDL. I was also expecting that I could use this url to add a Service Reference in Visual Studio 2010. Instead, I was getting a HTTP 400 Bad Request responses in both scenarios, making me think there was something wrong with the implementation of my service.

In fact, as it turns out, there was nothing wrong with my service implementation Рall I had to do was simply append /mex to the service url i.e. http://sharepoint/_vti_bin/MyService.svc/mex

Hope this helps!

Written by jvossers

June 17, 2011 at 11:14 am

Posted in Uncategorized

Another blog has spawned

leave a comment »

Welcome to my blog. Please do come back more often if you are interested in posts on SharePoint development, jQuery and general .NET development.

In my first few posts I will walk through the CodePlex projects that I have recently published. All three of them are enhancements to the standard SharePoint UI and are based on jQuery.

Come back soon!

Written by jvossers

March 16, 2009 at 11:39 pm

Posted in Uncategorized