function getCoords() { if(!$this->error) { $this->logger->log('Serializing XML Request...', PEAR_LOG_DEBUG); $this->package = $this->client->serializeEnvelope( ' ', '', Array(), 'document', 'literal'); $this->logger->log('Sending package...', PEAR_LOG_DEBUG); $response = $this->client->send($this->package); $this->log_response = $response; function contiues ....