Project

General

Profile

SOAP_Client_GetData.php

BoĊĦtjan Tittl, 03/13/2011 09:35 PM

Download (492 Bytes)

 
1
<?php 
2
        /*
3
                AUTHOR: Bo?tjan Tittl
4
                THIS SCRIPT WAS CREATED ONLY FOR TESTING OF GET RAFAL MEASUREMENTS ON SERVER SIDE DATABASE
5
        */
6
        
7
        $dateFrom = date("Y-m-d", strtotime('2010-1-10'));
8
        $dateTo = date("Y-m-d", strtotime('2013-3-12'));
9
        
10
        $client = new SoapClient("http://88.200.63.164/webservice/Get/RafalMeasurements.wsdl"); //CHANGE THIS (TO wsdl FULL PATH ON SERVER)
11
        echo $client->GetMeasurement($dateFrom, $dateTo);  // GET MEASUREMENTS FROM dateFrom TO dateTo (INCLUSIVE)
12
?>