Home > Net >  Don't know if you need to add a WEB application
Don't know if you need to add a WEB application

Time:10-06

Through WebApplication1 and MES system docking, do not know whether you need to add WEB application

1, instantiation interface

_webFun=new WebApplication1. WebReference. Service1 {Url=Settings. The Default. ServiceUrl};

2,
_webFun. Discover ();

3, send data to the interface
String ret=_webFun. SendDataToSer (Settings. The Default. ProductAcc, Settings. The Default. ProductPwd,
Settings. The Default. The deviceId paramName, paramValue, DateTime. Now. The ToString (" yyyy/MM/dd HH: MM: ss "));

4, receiving data,
The dataSet=_webFun. GetDataFromSer (Settings. The Default. MasterAcc, Settings. The Default. MasterPwd,
"# 01", "0001", "0010", barcode, DateTime. Now. The ToString (" yyyy/MM/dd HH: MM: ss "));

CodePudding user response:

That didn't want to add Web reference WebService, right?

CodePudding user response:

reference 1/f, the rabbit family - second brother reply:
that didn't want to add Web reference WebService, right?

Add WEB reference is not directly add, add service reference to right to choose

CodePudding user response:

refer to the second floor affectation response:
Quote: refer to 1st floor rabbit family - second brother reply:

That didn't want to add Web reference WebService, right?

Add WEB reference is not directly add to right-click to choose add service reference


Yeah, yeah, you baidu c # WebService
  •  Tags:  
  • C#
  • Related