title: worklight adapter not calling from javascript
body: <p>Adpater is working, checked from calling Adapter option.
  but invoking from Javascript no response is getting
  pass is getting value say 123456,
  but not getting response, no sucssess , no failure.</p>
  
  <p>POST.xml</p>
  
  <p>
      
      </p>
  
  <pre><code>    &lt;displayName&gt;POST&lt;/displayName&gt;
      &lt;description&gt;POST&lt;/description&gt;
      &lt;connectivity&gt;
          &lt;connectionPolicy xsi:type="http:HTTPConnectionPolicyType"&gt;
              &lt;protocol&gt;http&lt;/protocol&gt;
              &lt;domain&gt;164.100.222.200&lt;/domain&gt;
              &lt;port&gt;80&lt;/port&gt;
  
              &lt;connectionTimeoutInMilliseconds&gt;60000&lt;/connectionTimeoutInMilliseconds&gt;
              &lt;socketTimeoutInMilliseconds&gt;60000&lt;/socketTimeoutInMilliseconds&gt;
              &lt;maxConcurrentConnectionsPerNode&gt;50&lt;/maxConcurrentConnectionsPerNode&gt;
              &lt;!-- Following properties used by adapter's key manager for choosing specific certificate from key store  
              &lt;sslCertificateAlias&gt;&lt;/sslCertificateAlias&gt; 
              &lt;sslCertificatePassword&gt;&lt;/sslCertificatePassword&gt;
              --&gt;     
          &lt;/connectionPolicy&gt;
      &lt;/connectivity&gt;
  
      &lt;procedure name="trackerLogin" /&gt;
      &lt;procedure name="setTrackerLocation" /&gt;
      &lt;procedure name="getTrackerLocation" /&gt;
      &lt;procedure name="updateStatus" /&gt;
  &lt;/wl:adapter&gt;
  </code></pre>
  
  <p>// POST-impl.js</p>
  
  <pre><code>         function trackerLogin() {
          var input = {
          method : 'get',
          returnedContentType : 'json',
          path : '/WomenSafety/api/TrackerLogin/123456789012345?Password=123456'
      };return WL.Server.invokeHttp(input);
      }
  </code></pre>
  
  <p>//    Main.js  </p>
  
  <pre><code>     function login(pass)
      {
          busyIndicator.show();
          //var imei='123456789012345';
  
          if(pass!=='')
              {
  
               var invocationData = {
                       adapter : "POST",
                       procedure : "trackerLogin",
                       parameters : []
                   };
  
               WL.Client.invokeProcedure(invocationData,{
                   onSuccess : function(resp) {                       
                                    alert('1111');    
                                    },
                   onFailure : function(resp) {
                        alert('2222');        
                        },
               });
  
          /*  var ONE_MINUTE = 60 * 1000; 
              var options = {   
                        onSuccess : loginSuccess, 
                        onFailure : loginFailure,
                        timeout : ONE_MINUTE
                      };
  
  
           var invocationData = {
                   adapter : 'POST',
                   procedure : 'trackerLogin',
                   parameters : [imei,pass]
               };*/
  
          // WL.Client.invokeProcedure(invocationData, options);
           alert('@@-'+pass);
  
              }
  
          else
              {
              alert('Enter Password');
              }
          busyIndicator.hide();
      }
   function loginSuccess(result)
  {
  //var status=result.statusCode;
  alert('1111');
  if(status==200)
      {
      alert('Login'); 
      }
       else
      {alert('Network Error');}
    }
    function loginFailure(result)
          {alert('Server Error');}
  </code></pre>