localtime.c

来自「linux下开发的soap协议。建议大家学习学习!」· C语言 代码 · 共 15 行

C
15
字号
/* This client invokes a remote method of a service implemented in .NET with SOAP doc/lit encoding *//* Change the US zipcode in the subroutine call to obtain your local time */#include "soapH.h"#include "localtime.nsmap"int main(){ struct soap soap;  char *t;  soap_init(&soap);  if (soap_call_ns__LocalTimeByZipCode(&soap, "http://www.alethea.net/webservices/LocalTime.asmx", "http://www.alethea.net/webservices/LocalTimeByZipCode", "32306", &t))    soap_print_fault(&soap, stderr);  else    printf("Time = %s\n", t);  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?