I need to send and receive some information to a SOAP webservice to connect my program to a Truck-tracking program.
I received this C-code from that company
- Code: Select all Expand view
- using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestWebservice
{
class Program
{
static void Main(string[] args)
{
using (ServiceReference1.Service1Client myGeoPlanner = new ServiceReference1.Service1Client())
{
string login = "login";
string password = "pasword";
string exception = null;
List<ServiceReference1.vehilcle> vehilcles = myGeoPlanner.GetVehicles(login, password, false, ref exception);
int vehicleId = 100879;
DateTime validFromDate = DateTime.Now;
DateTime validToDate = DateTime.Now.AddDays(6);
string codeClient = "789456";
//bool exception6 = myGeoPlanner.CreateRegionCodeClientLatLon2(login, password, "Qeos Parking", "Enclus du Haut. 10", "", "7750", "Mont-de-L'Enclus", "BELGIUM", codeClient, 20, 50.756789181291943, 3.4804098796214475);
//var routeId = myGeoPlanner.PutRoute(login, password, vehicleId, "test qeos", 21, validFromDate, validToDate, ref exception);
}
}
}
}
Has anyone have done this allready?
Can anyone convert this to xHarbour?
Thanks,