code: public void setupMessageContextImpl(MessageContext mc,
                                          Call call,
                                          AxisEngine engine)
          throws AxisFault
      {
          if (action != null) {
              mc.setUseSOAPAction(true);
              mc.setSOAPActionURI(action);
          }
  
          // Set up any cookies we know about
          if (cookie != null)
              mc.setProperty(HTTPConstants.HEADER_COOKIE, cookie);
          if (cookie2 != null)
              mc.setProperty(HTTPConstants.HEADER_COOKIE2, cookie2);
  
          // Allow the SOAPAction to determine the service, if the service
          // (a) has not already been determined, and (b) if a service matching
          // the soap action has been deployed.
          if (mc.getService() == null) {
              mc.setTargetService( (String)mc.getSOAPActionURI() );
          }
      }
docs: Set up any transport-specific derived properties in the message context.
  @param mc the context to set up
  @param call the client service instance
  @param engine the engine containing the registries
  @throws AxisFault if service cannot be found