我们在prod中运行C#应用程序,它在工作日更新email
,emplid
和other id
。需求变化,我们必须修改代码,不更新email
,只更新emplid
和other id
。我带回了代码,并对更新email
的部分进行了评论。我还更新了Workday人力资源服务版本(40.2)因为我必须在发布之前进行测试。我得到错误:
出现验证错误。Change_Other_ID_Business_Process_Data元素的子元素Worker_Reference-urn:com.workday/bsvc无效。
我不知道这意味着什么。我在网上做了调查,试图找到答案,但无法弄清楚。我是C#和Web服务的新手。任何建议都将受到赞赏。
错误消息:
出现验证错误。Change_Other_ID_Business_Process_Data元素的子元素Worker_Reference-urn:com.workday/bsvc无效。
1条答案
按热度按时间r1wp621o1#
检查可选元素和必需元素的列表。
您的工作者引用元素位于请求的错误部分。工作者引用位于注解数据对象下,并被描述为“如果未通过Web服务提交,则将对处理人员进行注解的人员默认为”。您仍然可以向业务流程添加注解,我通常会说类似于“按集成名称更新”的内容。
Person引用对象是您要放置要更新的ID的位置,描述为“通过其活动人员类型之一(如员工、学生、附属机构、外部委员会成员等)对人员ID的引用。ID由类型属性和值属性组成,类型属性应设置为“Employee_ID”、“Contingent_Worker_ID”、“Student_ID”等之一,例如“04345”。
More info about the request, wsdl and xsd are all here。