
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Para testar as chamadas um método que pode ser utilizado é a Extension Wizdler do Google Chrome que poder ser instalada ao Browser em: Wizdler - Chrome Web Store
Header 1 | Header 2 |
---|---|
01. Acessar a URL do Webservice | |
02. Ao lado direito, logo após a URL verá o ícone do Wizdler | |
03. Preencha a informação desejada, no caso utilizei o seguinte:
| |
04. E recebi a resposta com o XML contendo as informações do registro desejado. Abaixo o XML de exemplo, completo. |
XML de exemplo:
<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> <getRecordsResponse> <getRecordsResult> <active>1</active> <building/> <calendar_integration>1</calendar_integration> <city/> <company/> <cost_center/> <country/> <date_format/> <default_perspective/> <department>a581ab703710200044e0bfc8bcbe5de8</department> <email>admin@example.com</email> <employee_number/> <failed_attempts>0</failed_attempts> <first_name>System</first_name> <gender/> <home_phone/> <internal_integration_user>0</internal_integration_user> <introduction/> <last_login></last_login> <last_login_time>2017-10-02 12:35:32</last_login_time> <last_name>Administrator</last_name> <ldap_server/> <location/> <locked_out>0</locked_out> <manager/> <middle_name/> <mobile_phone/> <name>System Administrator</name> <notification>2</notification> <password_needs_reset>0</password_needs_reset> <phone/> <photo/> <preferred_language/> <roles>admin</roles> <schedule/> <source/> <state/> <street/> <sys_class_name>sys_user</sys_class_name> <sys_created_by>fred.luddy</sys_created_by> <sys_created_on>2007-07-03 18:48:47</sys_created_on> <sys_domain>global</sys_domain> <sys_domain_path>/</sys_domain_path> <sys_id>6816f79cc0a8016401c5a33be04be441</sys_id> <sys_mod_count>73</sys_mod_count> <sys_updated_by>admin</sys_updated_by> <sys_updated_on>2017-09-29 19:38:28</sys_updated_on> <time_format/> <time_zone/> <title>System Administrator</title> <user_name>admin</user_name> <user_password>$s$6+N2mrm/lf0TKbgsPR/dVlluYjkZE9wHPraDC0bSc5w=$hHkGLsPftbR+KRq+KBBUjHdeQP6ruIBossWr3K7dY0w=</user_password> <vip>0</vip> <web_service_access_only>0</web_service_access_only> <zip/> </getRecordsResult> </getRecordsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Nas documentações podemos obter diversos links de apoio, são eles:
SOAP Web Service - ServiceNow Wiki
SOAP Direct Web Service API - ServiceNow Wiki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.