请教C# 如何调用 webserver,谢谢
获取个人编号
函数名称:traceQueryTargetA
传入参数:
字符型year 年仹;
字符型areaId 地区编号;
字符型name 病人姓名;
字符型medicalNo 病人医疗证号;
返回数据:字符型 个人编号
例程:
ls_personId=iws_proxy_obj.tracequerytargeta(ls_year,ls_xqbh,ls_name,ls_ylzhm)
下面是PB实现的,请问C#如何实现,谢谢PowerBuilder实例代码
3.1 声明
//发量声明
soapconnection i_conn
xfire客户端interfacehttpport iws_proxy_obj
//webservie调用
i_conn = create soapconnection
string endpoint='http://客户端interface.hnhzyl.com/客户端Interface/services/客户端
Interface?wsdl'
//ll_result=i_conn..createinstance(iws_proxy_obj,"xfire客户端
interfacehttpport","http://61.163.77.36:8080/客户端Interface/services/客户端
Interface?wsdl")
ll_result = i_conn.createinstance(iws_proxy_obj,"xfire客户端interfacehttpport")