I've used the "Walkthrough: Creating and Implementing a Custom WCF Service in SharePoint Foundation" from MSDN to create my cusom WCF Service and deploy to my Sharepoint 2010 server.
The wsp is globally deployed and when I access the service in the browser using the url: http://myserver/_vti_bin/Revert.svc/MEX everything seems ok. The problem is when I need to access the service on another webapplication on the server: http://intranet.mydomain.com/_vti_bin/Revert.svc/MEX. This gives me a "HTTP 400 Bad Request" error. This webapplication was created on port 81, so I can access the service by using the url: http://myserver:81/_vti_bin/Revert.svc/MEX.
I've set up AAM and also added the binding for port 80 in the IIS Management Console. I can use the builtin services like "listdata.svc" using the http://intranet.mydomain.com url, but not my custom wcf service. Does anyone know why?
Best Regards ElinK