|
webservice脚本中有下面的函数
web_service_call( "StepName=createDoc_102",
"SOAPMethod=CmhkServiceImplService.CmhkServiceImplPort.createDoc",
"ResponseParam=response",
"Service=CmhkServiceImplService",
"Snapshot=t1270719792.inf",
BEGIN_ARGUMENTS,
"operatorID=11",
"docXml=222",
END_ARGUMENTS,
BEGIN_RESULT,
"return=Param_return",
END_RESULT,
LAST);
接口要求传入的参数 operatorID和docXml都是字符串 ,但是 docXml是以XML格式存在的,如下面
<?xml version="1.0" encoding="UTF-8" ?>
<STAMP>
<FILENAME>d:\test.png</FILENAME>
<FIELDNAME>SignatureField2</FIELDNAME>
</STAMP>
请问怎么把这个XML数据作为docXml参数传入进去!
麻烦高手指教! |
|