title: Bad Request Error:400 on Web service method call?
body: <p>Hi I am new to the "SSRS" and web services i am trying to call the web service from the SSRS report.I have one web service which generates the barcode. I want the barcode to display in the report so i am calling the web service method from the ssrs.</p>
  
  <p>The method is </p>
  
  <pre><code>[OperationContract]
  Image BarcodeTextToImage(string value);
  </code></pre>
  
  <p>I am using the web service URL to call the method from the ssrs on the expression set to the image control as,</p>
  
  <pre><code>=Parameters!BarcodeURL.Value +"?value=" + CStr(Parameters!JobNumberFilter.Value)
  </code></pre>
  
  <p>where is BarcodeURL is set as </p>
  
  <pre><code> http://localhost/barcode/DataMatrix.svc/BarcodeTextToImage
  </code></pre>
  
  <p>but i am not getting any output  and getting two warnings as ,</p>
  
  <pre><code>1) [rsInvalidImageReference] The Value for the image ‘Image3’ is invalid. Details: The remote server returned an error: (400) Bad Request.
  2) [rsInvalidExternalImageProperty] The value of the ImageData property for the image ‘Image3’ is “”, which is not a valid ImageData.
  </code></pre>
  
  <p>Now i tried changing the config file of web service to change it to webHttpBinding still same issue. Any links and answers will be great.</p>