All,
I am attempting to write/update a custom workflow activity written by Scott Durow located here: https://code.msdn.microsoft.com/SharePoint-Integration-c5f21604/view/SourceCode#content
I have fixed the issue obtaining the auth URL. However, I am encountering an issue obtaining the WS-Trust security token via a SOAP message. Is there anything that needs to be done on the adfs endpoint to allow the server to pass out the token. The endpoint is enabled(I checked), but does it need a certificate or any other IIS configuration?
I get the error: "The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.."
Any thoughts?
*This post is locked for comments
Toby, fortunately, I cannot because I fixed the issue. By using a onmicrosoft.com account, I was able to get WS-Trust security token from the Microsoft servers and bypass ours. Not an ideal solution but a solid one...I think. By the time I was done with this I had rewritten a large portion of the original project and have already forgot it.
Can you supply a fiddler trace for this? (Make sure you remove credentials)
Looking at a successful header of mine I see:-
POST sts1.example.com/.../usernamemixed HTTP/1.1
Content-Type: application/soap+xml; charset=utf-8
Host: sts1.example.com
Content-Length: 4206
Expect: 100-continue
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
<s:Envelope xmlns:s="www.w3.org/.../soap-envelope" xmlns
.
.
.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156