Updated WS-Trust interoperability samples in WSIT
Wednesday Feb 21, 2007
The interoperability samples for WS-Trust were added recently in WSIT. I received some feedback on my earlier blog entry and made it even simpler to run these samples. The simplified steps are given below.
- Download GlassFish v2 and install it if you already don't have GlassFish v2. GlassFish v2 has WSIT bundled in it. Start the glassfish server.
- checkout ws-trust samples from cvs
- Set the glassfish.home property in
wsit/wsit/samples/ws-trust/interop/build.properties - There are 4 scenarios , namely transport-binding,mutual-certificate-10, mutual-certificate-11 , secureconversation-mutual-certificate-11. Go to the desired scenario directory.
For Eg,cd wsit/wsit/samples/ws-trust/interop/src/mutual-certificate-11 - run the sample by choosing the appropriate target. The available targets are s-s-s,s-s-m,s-m-s,s-m-m,m-s-s,m-s-m,m-m-s,m-m-m . These target names denote the platform ( sun or ms ) for <client>-<sts>-<server>
cvs -d :pserver:yourid@cvs.dev.java.net:/cvs co wsit/wsit/samples/ws-trust
For eg,
ant s-s-mIf you have hosted the Microsoft's WCF endpoints in your local intranet and want to try the scenarios against that, edit the build.properties in each scenario and change the property ms.host.
For tomcat, the steps are same, except you set tomcat.home property in step 3.
Try it, explore it, give suggestions and feedback if you have any.


















