Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn
Michael Stephenson keeping your feet on premise while your heads in the cloud

Problem

When i published my orchestration as a web service and called it i got the message "invalid security token".  Upon investigation it is because the wizard produces a policy file which uses the KerberosToken rather than KerberosToken2.  You can tell this be the namespace for the token:

KerberosToken = http://schemas.xmlsoap.org/ws/2003/12/kerberos/Kerberosv5ST

KerberosToken2 = http://schemas.xmlsoap.org/ws/2003/12/kerberos/Kerberosv5_AP_REQ

Work Around

In my solution i need to use KerberosToken2, and in the stuff i have done recently i have only managed to get the adapter to work with KerberosToken2.  The work around i am using is to have my own custom policy file.  In my msbuild script which builds my BizTalk application i ensure i do the following tasks in this order within the script:

a. Regenerate the published web services based on the WebServiceDescription file.

b. Replace the generated policy file with my custom one.

c. Export the application as an msi

By ensuring in my build script the above tasks are done in that order it means i can work around the fact that the wizard generates the wrong kind of token and i still have everything working in the same way it used to.

Posted on Friday, February 23, 2007 9:55 PM BizTalk | Back to top


Comments on this post: Kerberos Adventures - WSE Adapter Publishing Wizard does not use KerberosToken2

# re: Kerberos Adventures - WSE Adapter Publishing Wizard does not use KerberosToken2
Requesting Gravatar...
if the string was not a valid date then i wanted to return the min date value.
Felicitaciones de Navidad 2016
Frases de Navidad 2016YFUT FUY
Left by DIPIKA on Dec 16, 2016 10:07 PM

# re: Kerberos Adventures - WSE Adapter Publishing Wizard does not use KerberosToken2
Requesting Gravatar...
VERY INTERESTING POST ADMIN.\
mobdro for Windows
xender download app
Left by mobdro tv app for pc on May 12, 2017 6:49 PM

Your comment:
 (will show your gravatar)


Copyright © Michael Stephenson | Powered by: GeeksWithBlogs.net