Am trying to write a reusable component but the API is not returning any response. Am wondering whether am sending the xml data to the API poorly.Or the issue is with windows 7 that am developing on.Am using cakephp1.3 and wampserver 2.2This is how my componet looks like for the start\[code\]<?php App::import('Core', 'HttpSocket'); class YoComponent extends Object { var $url; //The url to the sandbox var $HttpSocket; //For storing HttpSocketObject var $api_username; var $api_password; var $request; function init($url,$api_username,$api_password){ $this->url=$url; $this->api_username=$api_username; $this->api_password=$api_password; $this->HttpSocket = new HttpSocket(); $this->request = array( 'method' => 'GET', 'uri' => array( 'scheme' => 'http', 'host' => null, 'port' => 80, 'user' => null, 'pass' => null, 'path' => null, 'query' => null, 'fragment' => null ), 'auth' => array( 'method' => 'Basic', 'user' => null, 'pass' => null ), 'version' => '1.1', 'body' => '', 'line' => null, 'header' => array( 'Content-Type' => 'text/xml', 'Content-transfer-encoding' => 'text' ), 'raw' => null, 'redirect' => false, 'cookies' => array() ); } function get_result($xml_data){ $this->HttpSocket->get($this->url, $xml_data,$this->request); return $this->HttpSocket->response; } } ?> \[/code\]This is an implementation for the component\[code\] $yo= $this->Yo; $yo->init('https://41.220.12.206/services/yopaymentsdev/task.php',$APIUsername,$APIPassword); $xml_data='http://stackoverflow.com/questions/14054763/<AutoCreate> <Request> <APIUsername>'.$yo->api_username.'</APIUsername> <APIPassword>'.$yo->api_password.'</APIPassword> <Method>acdepositfunds</Method> <NonBlocking></NonBlocking> <Amount>10000</Amount> <Account>2567704543171</Account> <AccountProviderCode>MTN_UGANDA</AccountProviderCode> <Narrative></Narrative> <NarrativeFileName></NarrativeFileName> <NarrativeFileBase64></NarrativeFileBase64> <InternalReference></InternalReference> <ExternalReference></ExternalReference> <ProviderReferenceText></ProviderReferenceText> <AuthenticationSignatureBase64></AuthenticationSignatureBase64> </Request> </AutoCreate>'; pr($yo->get_result($xml_data));\[/code\]the development guide for the API is found at https://payments.yo.co.ug/index.php/developers/No response is returned from the API.Can someone please help me on this?