<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="true">
  <meta>
    <sampleQuery>select * from {table} where url="www.yahoo.com" and username="username" and password="password"</sampleQuery>
  </meta>
  <bindings>
  <select itemPath="" produces="XML">
    <urls>
      <url></url>
    </urls>
    <inputs>
      <key id="url" type="xs:string" paramType="variable" required="true" />
      <key id="username" type="xs:string" paramType="variable" required="true" />
      <key id="password" type="xs:string" paramType="variable" required="true" />
    </inputs>
      <execute><![CDATA[
y.include("http://www.javarants.com/yss/base64.js");
var auth = "Basic " + Base64.encode(username + ":" + password);
response.object = y.rest(url).header("Authorization", auth).get().response;
      ]]></execute>
    </select>
  </bindings>
</table>
