传入参数:
[
"BD_MATERIAL",
{
"Model": {
"FName": "you001",
"FUseOrgId": {
"FNumber": "001"
},
"FSpecification": "you001",
"FCategoryID": {
"FName": "",
"FCATEGORYID": "0",
"FNumber": "CHLB01_SYS"
},
"FDescription": "",
"FNumber": "you001",
"FMaterialGroup": {
"FName": "",
"FID": "0",
"FNumber": "b443e7940bc6f04e0909ff209e8242b07950"
},
"FCreateOrgId": {
"FNumber": "001"
},
"FMATERIALID": "0"
},
"Creator": "SCM",
"NeedUpDateFields": [
""
]
}
]
错误信息:
{
"response_error": {
"HResult": -2147467259,
"RemoteStackIndex": 0,
"Message": "{ctx == null}",
"HelpURL": null,
"WatsonBuckets": null,
"ExceptionMethod": "8\nExecute\nKingdee.BOS.ServiceFacade.KDServiceFx, Version=6.0.413.1, Culture=neutral, PublicKeyToken=null\nKingdee.BOS.ServiceFacade.KDServiceFx.ServiceExecutor\nSystem.String Execute(Kingdee.BOS.ServiceFacade.KDServiceFx.KDServiceContext, Kingdee.BOS.ServiceFacade.KDServiceFx.ServiceType, System.String[], Kingdee.BOS.ServiceFacade.SerializerProxy, Kingdee.BOS.ServiceFacade.KDServiceFx.ServiceType)",
"Source": "Kingdee.BOS.ServiceFacade.KDServiceFx",
"Data": null,
"StackTraceString": " 在 Kingdee.BOS.ServiceFacade.KDServiceFx.ServiceExecutor.Execute(KDServiceContext context, ServiceType svcType, String[] paraValues, SerializerProxy serializeProxy, ServiceType beginMethod)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.ExecuteServiceModule.OnProcess(KDServiceContext context)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.ModulePipeline.ExcuteRequest(KDServiceContext context)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.RequestExcuteRuntime.StartRequest(RequestExtractor requestExtractor, WebContext context)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.KDSVCHandler.ExecuteRequest(WebContext ctx, RequestExtractor requestExtractor)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.KDSVCHandler.ProcessRequestInternal(WebContext webCtx, RequestExtractor requestExtractor)",
"InnerExWrapper": {
"Source": null,
"Data": {},
"TargetSite": null,
"ExceptionType": "System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"Message": "调用的目标发生了异常。",
"HelpLink": null,
"IsEmpty": false,
"InnerException": {
"Source": null,
"Data": {},
"TargetSite": null,
"ExceptionType": "System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"Message": "{ctx == null}",
"HelpLink": null,
"IsEmpty": false,
"InnerException": null,
"StackTrace": " 在 Kingdee.BOS.Contracts.ServiceFactory.GetService[T](Context ctx)\r\n 在 Kingdee.BOS.ServiceHelper.MetaDataServiceHelper.Load(Context ctx, String id, String layoutViewId, Boolean bRuntime)\r\n 在 Kingdee.BOS.WebApi.FormService.WebApiServiceCall.ExcuteSpecialOperation(Context ctx, String formId, String data, Int64 opId)\r\n 在 Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save(String formid, String data)"
},
"StackTrace": " 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n 在 Kingdee.BOS.ServiceFacade.KDServiceFx.ServiceExecutor.Execute(KDServiceContext context, ServiceType svcType, String[] paraValues, SerializerProxy serializeProxy, ServiceType beginMethod)"
},
"ClassName": "Kingdee.BOS.ServiceFacade.ServiceException",
"_httpCode": 500,
"InnerException": null,
"RemoteStackTraceString": null
}
}
推荐阅读