title: Invoke RESTFul API using WSO2 ESB error
body: <p>I am trying to invoke a simple RESTFul API that POST username and password  using WSO2 ESB, but i did not get response when trying to invoke it using postman:</p>
  
  <p>the RESTFul API URL is: <code>http://{REST service IP:port}/api/signup</code></p>
  
  <p>the URL to call from ESB is <code>http://{ESP IP:PORT}/api1/signup</code></p>
  
  <p>the API Configuration i made in the WSO2 ESB is </p>
  
  <pre><code>&lt;api xmlns="http://ws.apache.org/ns/synapse" name="API_TEST"   context="/api1"&gt;
    &lt;resource methods="POST" url-mapping="/signup"&gt;
      &lt;inSequence&gt;
        &lt;log/&gt;
        &lt;send&gt;
          &lt;endpoint&gt;
            &lt;address uri="http://&lt; REST service IP:port&gt;/api/signup"/&gt;
          &lt;/endpoint&gt;
        &lt;/send&gt;
      &lt;/inSequence&gt;
      &lt;outSequence&gt;
        &lt;log/&gt;
        &lt;send/&gt;
      &lt;/outSequence&gt;
    &lt;/resource&gt;
  &lt;/api&gt;
  </code></pre>
  
  <p>I posted a Simple JSON elements: </p>
  
  <pre><code>{
    "name":"adnan",
    "password":"adnan1"
  } 
  </code></pre>
  
  <p>the WSO2 Console show the following message:</p>
  
  <blockquote>
    <p>INFO - LogMediator To: <a href="http://www.w3.org/2005/08/addressing/anonymous" rel="nofollow">http://www.w3.org/2005/08/addressing/anonymous</a>, WSAction: , SOAPAction: , MessageID: urn:uuid:8073ca47-1ea3-4232-bcb7-4f947bca6591, Direction: response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 0, ERROR_MESSAGE = Error while building message, Envelope:            </p>
  </blockquote>