title: Call a rest service in a WADL via browser
body: <p>I have to call a rest service declared in a WADL but i dont know how to read the file on the description.</p>
  
  <p>This is the file description for the service :</p>
  
  <pre><code>-&lt;resources base="http://xxxxxxxxxxxx:8000/webservices/rest/User/"&gt;
  -&lt;resource path="change_user_name/"&gt;
  -&lt;method name="POST" id="CHANGE_USER_NAME"&gt;
  -&lt;request&gt;
  &lt;representation type="CHANGE_USER_NAME_Input" mediaType="application/xml"/&gt;
  &lt;representation type="CHANGE_USER_NAME_Input" mediaType="application/json"/&gt;
  &lt;/request&gt;
  &lt;/method&gt;
  &lt;/resource&gt;
  -&lt;resource path="isuseractive__1/"&gt;
  -&lt;method name="POST" id="ISUSERACTIVE__1"&gt;
  -&lt;request&gt;
  &lt;representation type="ISUSERACTIVE__1_Input" mediaType="application/xml"/&gt;
  &lt;representation type="ISUSERACTIVE__1_Input" mediaType="application/json"/&gt;
  &lt;/request&gt;
  -&lt;response&gt;
  &lt;representation type="ISUSERACTIVE__1_Output" mediaType="application/xml"/&gt;
  &lt;representation type="ISUSERACTIVE__1_Output" mediaType="application/json"/&gt;
  &lt;/response&gt;
  &lt;/method&gt;
  &lt;/resource&gt;
  </code></pre>
  
  <p>And this is the detail description for that method</p>
  
  <pre><code>&lt;import schemaLocation="http://xxxxxxxxxxxxxxx:8000/webservices/rest/User/?XSD=RESTHeader.xsd" namespace="http://xmlns.oracle.com/apps/fnd/rest/header"/&gt;
  -&lt;element name="InputParameters"&gt;
  -&lt;complexType&gt;
  -&lt;sequence&gt;
  &lt;element db:type="VARCHAR2" type="string" name="P_USERNAME" nillable="true" minOccurs="0" db:index="1"/&gt;
  &lt;/sequence&gt;
  &lt;/complexType&gt;
  &lt;/element&gt;
  </code></pre>
  
  <p>I have tried calling the service with POSTMAN :</p>
  
  <pre><code>http://xxxxxxxxxxxx:8000/webservices/rest/User/Isuseractive__1/ISUSERACTIVE__1
  </code></pre>
  
  <p>authoritation:</p>
  
  <pre><code>user:xxxx
  password:xxx
  </code></pre>
  
  <p>body:</p>
  
  <pre><code>{
      "root":{
          "P_USERNAME":"Perico"
      }
  }
  </code></pre>
  
  <p>and it works fine.</p>
  
  <p>But when i try it with a browser call, i get a 400 error page.</p>
  
  <p>I tried</p>
  
  <pre><code>http://xxxxxxxxxxxx:8000/webservices/rest/User/Isuseractive__1/ISUSERACTIVE__1?P_USERNAME=PERICO
  
  http://xxxxxxxxxxxx:8000/webservices/rest/User/Isuseractive__1/ISUSERACTIVE__1?P_USERNAME="PERICO"
  </code></pre>
  
  <p>and more combinations, but nothing worked.</p>