function does not take 4 arguments

#include <iostream>
#include <cstring>

#include "soapDeviceBindingProxy.h"
#include "DeviceBinding.nsmap"
using namespace std;

int main(int argc, const char *argv[])
{
struct soap soap;

soap_init(&soap);

DeviceBindingProxy proxy(soap);

_tds__GetDeviceInformation tds__GetDeviceInformation;
_tds__GetDeviceInformationResponse tds_GetDeviceInformationResponse;

string endpoint = "http://192.168.2.162:10001/onvif/device_service";

int result = SOAP_ERR;

result = proxy.GetDeviceInformation(endpoint.c_str, NULL, &tds__GetDeviceInformation, &tds_GetDeviceInformationResponse);

if (result==SOAP_OK)
{
cout << "Mfr: " << tds_GetDeviceInformationResponse.Manufacturer << endl;
cout << "Model: " << tds_GetDeviceInformationResponse.Model << endl;
cout << "F/W version: " << tds_GetDeviceInformationResponse.FirmwareVersion << endl;
}
return 0;
}

this code is error in part
'DeviceBindingProxy::GetDeviceInformation': function does not take 4 arguments

please give me for way handing
What is the definition of DeviceBindingProxy::GetDeviceInformation? What arguments does it take?
Topic archived. No new replies allowed.