March 18th, 2013, 11:16 AM
gSoap Error 400
I'm trying to call a webservice using gSoap with the following code:
I get the following error:
int _tmain(int argc, _TCHAR* argv)
struct soap soap;
struct _ns1__GetServerTime Send;
struct _ns1__GetServerTimeResponse Response;
int ret = soap_call___ns1__GetServerTime(&soap,0,0,&Send,&Response);
if(ret == SOAP_OK)
int a =1;
Error 400 fault: SOAP-ENV:Server [no subcode]
Detail: HTTP/1.1 400 Bad Request
Press any key to continue . . .
I get the same error trying to connect to different services. Can someone tell me what I'm doing wrong?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.