code: public static ActivityContext getActivityContext(HttpServlet servlet) {
          ServletContext servletContext = servlet.getServletContext();
          String attrName = STANDALONE_WEB_SERVICE_ATTRIBUTE_PREFIX + servlet.getServletName();
          ActivityContext activityContext = getActivityContext(servletContext, attrName);
          if (activityContext != null) {
              return activityContext;
          } else {
              return getActivityContext(servletContext);
          }
      }
docs: Find the standalone ActivityContext for this web aspectran service.
  
  @param servlet the servlet
  @return the ActivityContext for this web aspectran service