You can configure Metro-based clients through NetBeans (an integrated development environment).
Create a web service client project in NetBeans.
Right click the project and click Create Web Service Client to create a STS client. Point the WSDL to http://<name of the identity provider server>:<port>/nidp/wstrust/sts?wsdl.
Configure the username and password to access WS-Trust STS.
The user configured needs to get authenticated into Access Manager password-based authentication classes. You can also configure the Callback-based configuration in NetBeans to provide username and passwords dynamically.
When you create a web service client for your web service, which is configured for STS-issued tokens, you need to specify the endpoint URL of WS-Trust STS in the web service client properties. You can specify this in NetBeans by right clicking Web Service References> Web Service and selecting Secure Token Service.
For information about configuring Metro-based web service clients, see To Specify an STS on the Service Side and To Specify an STS on the Client Side in Configuring A Secure Token Service (STS).