帮忙看一下这段Webservice脚本错误在哪?
[脚本]Action()
{
int rc=0;
unsigned longconverted_buffer_size_uncode=0;
char *converted_buffer_unicode=NULL;
char *strnew= NULL;
char strnew2;
web_add_header("soapaction","\"\"");
web_add_header("User-Agent","Jakarta Commons-HttpClinet/3.1");
web_add_header("Content-Type","text/xml;charset=UTF-8");
soap_request("StepName=uploadMMS",
"URL=http://123.127.98.43:80/UCard/UCService/uploadMMService",
"SOAPEnvelope= \"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"http://webservice.couponcard.ufmobile.com/\">
"<soapenv:Header/>"
"<soapenv:Body>"
"<web:uploadMMS>"
"<arg0>8075342000080-76123-435826-11543</arg0>"
"<arg1>hello</arg1>"
"<arg2>filename</arg2>"
"<arg3>142</arg3>"
"<arg4>123</arg4>"
"<arg5>13693300428</arg5>"
"</web:uploadMMS>"
"</soapenv:Body>"
"</soapenv:Envelope>",
"Snapshot=t1.inf",
"ResponseParam=result",
LAST);
return 0;
}
运行后LOG提示如下:
In file included from d:\性能脚本\upload5\\combined_upload5.c:4:
Action.c:28:36: unterminated string or character constant
Action.c:14: possible real start of unterminated constant 已经解决了!
页:
[1]