}
}
public WSTrustClient(String serviceName, String port, String endpointURI, SecurityInfo secInfo) throws ParsingException
{
Builder builder = new STSClientConfig.Builder();
builder.serviceName(serviceName).portName(port).endpointAddress(endpointURI).username(secInfo.username).password(secInfo.passwd);
stsClient = STSClientFactory.getInstance().create(builder.build());
}