var request = require('request');

module.exports = function(uri, serviceName, invokeUri){
    this.uri = uri;
    this.serviceName = serviceName;
    this.invokeUri = invokeUri;

    this.invoke = function(data, callback){
        request(
            { method: 'PUT'
            , uri: this.invokeUri
            , body: data
            }
        , function(error, response, body){
    if(error || response.statusCode != 200){
        callback(error, null);
    } else {
        callback(null, body);
    }
          }
        )
    }
}

@@ -530,11 +530,669 @@
  )%0A    %7D
+%0A%0A    this.getRequestSchema = function(callback)%7B%0A        request.get(this.uri.href + '?action=getRequestSchema', function(error, response, body)%7B%0A            if(error %7C%7C response.statusCode != 200)%7B%0A                callback(error, null);%0A            %7D else %7B%0A                callback(null, body);%0A            %7D%0A        %7D)%0A    %7D%0A%0A    this.getResponseSchema = function(callback)%7B%0A        request.get(this.uri.href + '?action=getResponseSchema', function(error, response, body)%7B%0A            if(error %7C%7C response.statusCode != 200)%7B%0A                callback(error, null);%0A            %7D else %7B%0A                callback(null, body);%0A            %7D%0A        %7D)%0A    %7D
 %0A%7D%0A

Add get*Schema functions on a service