Fixing bug in GetAPIVersion

Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/126ee28c
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/126ee28c
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/126ee28c

Branch: refs/heads/master
Commit: 126ee28cdd8f2bfb61cc347897aef25887018ec2
Parents: 050fd1d
Author: marpierc <[email protected]>
Authored: Thu May 22 14:05:39 2014 -0400
Committer: marpierc <[email protected]>
Committed: Thu May 22 14:05:39 2014 -0400

----------------------------------------------------------------------
 client-samples/GetAPIVersion.php | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/126ee28c/client-samples/GetAPIVersion.php
----------------------------------------------------------------------
diff --git a/client-samples/GetAPIVersion.php b/client-samples/GetAPIVersion.php
index 1a53c71..a2732b1 100644
--- a/client-samples/GetAPIVersion.php
+++ b/client-samples/GetAPIVersion.php
@@ -35,6 +35,7 @@ use Airavata\API\AiravataClient;
 /* this is the same as the factory */
 $transport = new TSocket(AIRAVATA_SERVER, AIRAVATA_PORT);
 $transport->setRecvTimeout(AIRAVATA_TIMEOUT);
+$protocol = new TBinaryProtocol($transport);
 $transport->open();
 $airavataclient = new AiravataClient($protocol);
 

Reply via email to