- 服务地址
-
- postman配置
- 设置 SOAPAction
-
设置请求内容:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <TransUnipickIIData xmlns="http://tempuri.org/"> <xmldata> <![CDATA[ <ROOT> <OPWINID></OPWINID> <OPTYPE>101</OPTYPE> <OPIP>192.168.0.101</OPIP> <OPMANNO>112</OPMANNO> <OPMANNAME>测试员</OPMANNAME> <UNIPICKII_BASIC_DRUGSVW> <DRUG_CODE>390907211</DRUG_CODE> <DRUG_NAME>如意珍宝丸</DRUG_NAME> <TRADE_NAME>如意珍宝丸</TRADE_NAME> <DRUG_SPEC>1丸*20</DRUG_SPEC> <DRUG_PACKAGE>盒</DRUG_PACKAGE> <DRUG_UNIT>粒</DRUG_UNIT> <FIRM_ID>青海金诃藏药</FIRM_ID> <DRUG_PRICE>17.00</DRUG_PRICE> <DRUG_FORM>丸</DRUG_FORM> <DRUG_SORT>普通药</DRUG_SORT> <BARCODE></BARCODE> <DRUG_LOCATION>B1-1</DRUG_LOCATION> <LAST_DATE>2012-01-05T15:08:58</LAST_DATE> <PINYIN>RYZBW</PINYIN> <DRUG_CONVERTATION>1</DRUG_CONVERTATION> <ALLOWIND>Y</ALLOWIND> </UNIPICKII_BASIC_DRUGSVW> </ROOT> ]]> </xmldata> </TransUnipickIIData> </soap:Body> </soap:Envelope>
xmldata 是入参,TransUnipickIIData是方法名, <![CDATA[这里是实参,这样可以转义符]]
- 设置 SOAPAction
- 结果
标签:postman,0.101,如意,设置,wcf,珍宝 From: https://www.cnblogs.com/zhoudelun/p/18307573