日期:2014-05-17 浏览次数:20967 次
/// Service1 的摘要说明
/// </summary>
[WebService(Namespace = "http://BSKJ_WEB_SERVICE.COM/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消对下行的注释。
// [System.Web.Script.Services.ScriptService]
public class Service1 : System.Web.Services.WebService
{
[WebMethod]
public string HelloWorld()
{
return "Hello World";
}
[WebMethod(Description = "提货(参数:提货类型、JSON参数、MIP工作流ID)")]
public bool PickUpGoods(string getType, string data, string processID)
{
try
{
//bool tof = false;
MakeLog mk = new MakeLog();
mk.Insertlog(getType, data, processID);
//PickUpdateStock pug = new PickUpdateStock();
////tof = pug.UpdateTH(getType, data, processID);
////if (pug.UpdateTH(getType, data, processID)) return true;
//if ( pug.UpdateTH(getType, data, processID) ) return true;
//else return false;
}
catch (Exception ex)
{
MakeLog mk = new MakeLog();
mk.Insertlog("NoticeLogs", ex.ToString(), "");
&nb