title: WCF Rest Custom URL
body: <p>I'm trying to configure a RESTful WCF service that will accept the following url: </p>
  
  <p><a href="http://localhost/Service.svc/ProcessRequest;ID=1234" rel="nofollow">http://localhost/Service.svc/ProcessRequest;ID=1234</a></p>
  
  <p>I've created the Service Contract as follows: </p>
  
  <pre><code>[ServiceContract]
      public interface IService
      {
  
          [OperationContract]
          [WebInvoke(Method = "POST", UriTemplate = "/ProcessRequest")]
          XmlElement ProcessRequest(Stream postbody);
  </code></pre>
  
  <p>However, this returns a 404 error when I try and call this from the client, probably due to the format of the url.  Is there a way of handling the ;ID=1234 as part of method. I don't necessarily need to capture the value of ID, but for various reasons the client will be sending the URL in that format and I must be able to handle it. </p>