code: public static void begin(ServletRequest request,
                               ServletResponse response,
                               String serviceName,
                               String objectId)
          throws ServletException
      {
          ServiceContext context = (ServiceContext) _localContext.get();
  
          if (context == null) {
              context = new ServiceContext();
              _localContext.set(context);
          }
  
          context._request = request;
          context._response = response;
          context._serviceName = serviceName;
          context._objectId = objectId;
          context._count++;
      }
docs: Sets the request object prior to calling the service's method.
  
  @param request the calling servlet request
  @param serviceId the service identifier
  @param objectId the object identifier