Outbound REST Message to System Center Orchestrator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2015 11:17 AM
I am attempted to consume the web service from System Center Orchestrator in ServiceNow. I am using the POST method to invoke a runbook in SC Orchestrator and I am using basic auth through a MID Server. The MID Server service is running with a domain account that does have access to the web service and has the mid_server role within SN. I am using the SC Orchestrator endpoint shown (no query parameters are required) below and I have tried with and without the headers shown below. I feel like I have tried it every which way using different credentials (with and with out specifying the domain). Despite my efforts it always continues to return "Method failed: (/Orchestrator2012/Orchestrator.svc/Jobs(guid'MYRUNBOOKGUID')/Runbook) with code: 401 - Invalid username/password combo". I have looked all over and found info where people are successfully using this to start SC Orchestrator Runbooks but I have never been able to find a specific walkthough or details about how others got this working. Anyone that has input on what I may be missing with the auth credentials or specific details on how this should be set up would be a great help to me. I am about to start pulling my hair out. Thanks in advance!
Endpoint: http://MYSERVER:81/Orchestrator2012/Orchestrator.svc/Jobs(guid'MYRUNBOOKGUID')/Runbook
Headers:
Accept | application/atom+xml,application/xml | |
Accept-Encoding | identity | |
Accept-Language | en-US | |
Content-Type | application/atom+xml | |
DataServiceVersion | 1.0;NetFx | |
MaxDataServiceVersion | 2.0;NetFx | |
Pragma | no-cache |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2017 09:50 AM
Hi Willa,
Were you able to fix this issue?