定性检测webservice接口说明V1.0.0(1).doc

上传人:公**** 文档编号:559592442 上传时间:2023-01-12 格式:DOC 页数:4 大小:61KB
返回 下载 相关 举报
定性检测webservice接口说明V1.0.0(1).doc_第1页
第1页 / 共4页
定性检测webservice接口说明V1.0.0(1).doc_第2页
第2页 / 共4页
定性检测webservice接口说明V1.0.0(1).doc_第3页
第3页 / 共4页
定性检测webservice接口说明V1.0.0(1).doc_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《定性检测webservice接口说明V1.0.0(1).doc》由会员分享,可在线阅读,更多相关《定性检测webservice接口说明V1.0.0(1).doc(4页珍藏版)》请在金锄头文库上搜索。

1、浙江省农贸市场信息化综合管理平台定性检测webservice接口说明 浙江浙大网新中研软件有限公司2012-11-28http:/ 查询接口说明1、 定性检测信息上传接口参数: HashMapKEY参数说明是否为空数据类型SCNBXH市场nbxh否StringDEPTID检测部门id否StringJCDWID检测单位id否StringSCCJID生产厂家id否StringUSERNAME检测用户账号否StringJCYHPWD检测用户密码否StringSPID商品ID否StringJCXM检测项目否StringJCRQ检测日期否Stringyyyy-MM-ddJCJG检测结果Y-合格 N-不合

2、格否String二、 接口调用方法访问地址:http:/ 183.129.215.106:7011/zjnmWebService/services/sc?wsdl事例说明: public static void main(String args) scClient client = new scClient(); scPortType service = client.getscHttpPort();AnyType2AnyTypeMap hashMap = new AnyType2AnyTypeMap();hashMap.entry = new ArrayList();Entry scnbxh

3、Entry = new Entry();scnbxhEntry.setKey(scnbxh);scnbxhEntry.setValue(3301060000000036);hashMap.entry.add(scnbxhEntry);Entry deptidEntry = new Entry();deptidEntry.setKey(deptid);deptidEntry.setValue(3301060000000036);hashMap.entry.add(deptidEntry);Entry jcdwidEntry = new Entry();jcdwidEntry.setKey(jcd

4、wid);jcdwidEntry.setValue(33010600000000361);hashMap.entry.add(jcdwidEntry);Entry sccjidEntry = new Entry();sccjidEntry.setKey(sccjid);sccjidEntry.setValue(00000000000001010832);hashMap.entry.add(sccjidEntry);Entry usernameEntry = new Entry();usernameEntry.setKey(username);usernameEntry.setValue(hzg

5、dnmsc);hashMap.entry.add(usernameEntry);Entry jcyhpwdEntry = new Entry();jcyhpwdEntry.setKey(jcyhpwd);jcyhpwdEntry.setValue(1);hashMap.entry.add(jcyhpwdEntry);Entry spidEntry = new Entry();spidEntry.setKey(spid);spidEntry.setValue(04009005);hashMap.entry.add(spidEntry);Entry jcxmEntry = new Entry();

6、jcxmEntry.setKey(jcxm);jcxmEntry.setValue(022012);hashMap.entry.add(jcxmEntry);Entry jcrqEntry = new Entry();jcrqEntry.setKey(jcrq);jcrqEntry.setValue(2012-11-29);hashMap.entry.add(jcrqEntry);Entry jcjgEntry = new Entry();jcjgEntry.setKey(jcjg);jcjgEntry.setValue(N);hashMap.entry.add(jcjgEntry);if (service.insertDxjc(hashMap) 0) System.out.println(上传成功!); else System.out.println(上传失败!);System.out.println(test client completed); System.exit(0); 第 1 页 共 3 页

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 社会民生

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号