public class SimpleTestClient
{
public static void addReferenceParameter(EndpointReference epr)
{
ResourceIdFactory factory = new CounterResourceIdFactory();
QName name = factory.getIdentifierName();
String value = factory.getNextIdentifier();
epr.addParameter(name, value);
}