WSRP2ExceptionFactory.throwOperationFailedIfValueIsMissing(gs, "GetServiceDescription");
try
{
// if a RegistrationContext is provided, we need to validate the registration information
RegistrationContext registrationContext = gs.getRegistrationContext();
Registration registration = null;
if (registrationContext != null)
{
registration = producer.getRegistrationOrFailIfInvalid(registrationContext);
RegistrationLocal.setRegistration(registration);