EndpointReference epr = getEndpointReference(resourceContext.getBaseURL( ) + "/" + getServiceName().getLocalPart() , key, SPEC_NAMESPACE_SET.getAddressingNamespace());
resource.setEndpointReference(epr);
}
catch (Exception e)
{
throw new ResourceException(e);
}
add(key, resource);
}
else
{