Outbound REST Message to System Center Orchestrator

willa
Giga Contributor

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:

Acceptapplication/atom+xml,application/xml
Accept-Encodingidentity
Accept-Languageen-US
Content-Typeapplication/atom+xml
DataServiceVersion1.0;NetFx
MaxDataServiceVersion2.0;NetFx
Pragmano-cache
1 REPLY 1

Bharat23
Kilo Guru

Hi Willa,



Were you able to fix this issue?