ServiceNowRESTfulConnector:使用网络服务连接到 ServiceNow

上传者: 42129300 | 上传时间: 2022-07-20 22:53:25 | 文件大小: 31KB | 文件类型: ZIP
服务现在RESTful连接器 使用 Webservices 连接到 ServiceNow 并返回 JSON 数据 首先,使用脚本或更新集生成带有正确注释的 java 类。 接下来,根据需要创建服务类。 最后,创建资源类作为服务的端点。 添加您需要的任何身份验证,您就可以开始了。 (我没有选择包含任何外部身份验证,这取决于您。) 包括一个具有事件和用户的示例。 目标是能够获得具有特定角色的随机用户(在本例中为 itil)。 部署后,可以调用此服务以获取该信息。 当然,如果需要,这里的代码可以带入任何更大的项目中。

文件下载

资源详情

[{"title":"( 22 个子文件 31KB ) ServiceNowRESTfulConnector:使用网络服务连接到 ServiceNow","children":[{"title":"ServiceNowRESTfulConnector-master","children":[{"title":"servicenow-connector","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mycompany","children":[{"title":"servicenow","children":[{"title":"connector","children":[{"title":"TestUserService.java <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"webapp","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 316B </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"applicationContext.xml <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"incident.properties <span style='color:#111;'> 43B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"mycompany","children":[{"title":"servicenow","children":[{"title":"connector","children":[{"title":"service","children":[{"title":"BasicService.java <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"IncidentService.java <span style='color:#111;'> 6.57KB </span>","children":null,"spread":false},{"title":"SysUserHasRoleService.java <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"resource","children":[{"title":"IncidentResource.java <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"SysUserHasRoleResource.java <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"SysUserHasRoleCollection.java <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"Incident.java <span style='color:#111;'> 9.54KB </span>","children":null,"spread":false},{"title":"IncidentCollection.java <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"SysUserHasRole.java <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"Task.java <span style='color:#111;'> 14.73KB </span>","children":null,"spread":false},{"title":"TaskCollection.java <span style='color:#111;'> 285B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"ModelClassCreator.xml <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"ModelClassCreator.js <span style='color:#111;'> 9.51KB </span>","children":null,"spread":false},{"title":"test.json <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 123B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明