Using .SVC Web Service in Java
This is a lab/tutorial for a SVC. web sevice using a JAVA Client for ADFS and ISHSTS
The archive contains the following files:
SdlTrisoftClient_JavaWcfClient.docx This is lab's documentation. It has all necessary instructions from creating a proper environment to the execution steps.
SdlTrisoftClient_StartingTemplate.zip The above documentation requires this file to use as a starting template. This file can be used as a future project template.
SdlTrisoftClient_AppliedExample.zip This file is the expected outcome from following the instructions of the lab starting from the template project.
The lab is based on the following components or libraries:
Eclipse IDE for Java EE Developers
Java SDK
Apache Maven
Apache CXF
Microsoft ADFS
More detailed information is located in the lab's documentation file.
The lab depends on the Apache CXF library to build the proxy clients. Out of the box, CXF is not fully compatible with Microsoft STS-enabled WCF Federated Web Services. For this reason the template project packs a couple of simple overrides to make up for those incompatibilities.
Finally, CXF does not support out of the box NTLM authentication. For this reason, the lab
- does not target the
issue/wstrust/mixed/windowsendpoint of ISHSTS. - targets the
/trust/13/usernamemixedendpoint for Microsoft ADFS which is a normal username/password authentication endpoint. This is very similar to the ISHSTSissue/wstrust/mixed/usernameauthentication endpoint that relies on Trisoft credentials.
Use valid Active Directory credential like Domain\Username / Password with/trust/13/usernamemixed on ADFS.