Examples of submit()


Examples of com.commander4j.messages.OutgoingProductionDeclarationConfirmation.submit()

          {
            if (transactionType.endsWith("Production Declaration"))
            {
              OutgoingProductionDeclarationConfirmation opdc = new OutgoingProductionDeclarationConfirmation(Common.selectedHostID, Common.sessionID);
              //opdc.processMessage(Long.valueOf(messageRef));
              opdc.submit(Long.valueOf(messageRef));
              errorMessage.setText(opdc.getErrorMessage());
              opdc = null;
            }

            if (transactionType.equals("Despatch Confirmation"))
View Full Code Here

Examples of com.esri.gpt.control.webharvest.engine.Harvester.submit()

* @return <code>true</code> if job has been created
*/
private boolean insertJob(HrRecord record, Integer maxRecs, Date fromDate) {
  ApplicationContext appCtx = ApplicationContext.getInstance();
  Harvester harvester = appCtx.getHarvestingEngine();
  return harvester.submit(getRequestContext(), record, maxRecs, fromDate);
}

/**
* Reads all the records from uuids.
* @param uuids uuids of the selected records.
View Full Code Here

Examples of com.eviware.soapui.impl.support.wsa.WsaRequest.submit()

    }

    try
    {

      WsdlSubmit wsdlSubmit = startSequenceRequest.submit( new WsdlSubmitContext( null ), true );
      Logger.getLogger( "wsrm" ).info( "StartSequence Request Sent: " + uuid );

      // startSequenceRequest.getWsaConfig().setWsaEnabled(false);
      while( wsdlSubmit.getStatus() != Status.FINISHED )
      {
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.WsdlRequest.submit()

    String requestXml = operation.createRequest( true );
    assertNotNull( requestXml );

    request.setRequestContent( requestXml );

    Submit submit = request.submit( new WsdlSubmitContext( null ), false );

    assertTrue( submit.getResponse().getContentAsString().indexOf( "Error 404 NOT_FOUND" ) > 0 );
  }
}
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequest.submit()

    desktopPanel = ( HttpTestRequestDesktopPanel )UISupport.selectAndShow( testStep );
    HttpTestRequest testRequest = null;
    try
    {
      testRequest = testStep.getTestRequest();
      WsdlSubmit<HttpRequest> submitRequest = testRequest.submit( new WsdlTestRunContext( testStep ), true );

      if( startRecording )
      {
        submitRequest.waitUntilFinished();
        HttpHtmlResponseView htmlResponseView = ( HttpHtmlResponseView )desktopPanel.getResponseEditor().getViews()
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.form.FormPanel.submit()

        public void componentSelected(ButtonEvent ce) {
          if (file.getFilename() == null || file.getFilename().trim().length() == 0) {
            return;
          }
          try {
            panel.submit();
          } catch (Exception e) {
            panel.unmask();
            MessageBox.alert(Messages.get("label.error", "Error"), e.getMessage(), null);
          }
        }
View Full Code Here

Examples of com.gargoylesoftware.htmlunit.html.HtmlForm.submit()

            HtmlPage page = goTo("/login");

            HtmlForm form = page.getFormByName("login");
            form.getInputByName("j_username").setValueAttribute(username);
            form.getInputByName("j_password").setValueAttribute(password);
            form.submit(null);
            return this;
        }

        /**
         * Logs in to Hudson, by using the user name as the password.
View Full Code Here

Examples of com.gistlabs.mechanize.document.html.form.Form.submit()

    Form form = signinPage.forms().get(0);
    form.get("email").setValue(username);
    ((Checkable) form.get("ap_signin_existing_radio")).setChecked(true);
    form.get("password").setValue(password);
    Resource managePage = form.submit();

    debug(managePage);

  }
View Full Code Here

Examples of com.github.kristofa.brave.EndPointSubmitter.submit()

    @Test
    public void test() throws ClientProtocolException, IOException, InterruptedException {
        // We need to set up our endpoint first because we start a client request from
        // in our test so the brave preprocessor did not set up end point yet.
        final EndPointSubmitter endPointSubmitter = Brave.getEndPointSubmitter();
        endPointSubmitter.submit("127.0.0.1", 8080, "BraveRestEasyIntegration");

        // this initialization only needs to be done once per VM
        RegisterBuiltin.register(ResteasyProviderFactory.getInstance());

        // Create our client. The client will be configured using BraveClientExecutionInterceptor because
View Full Code Here

Examples of com.google.common.util.concurrent.ListeningExecutorService.submit()

        int testThreadsCount = 2;
        ListeningExecutorService executor = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(testThreadsCount));

        List<ListenableFuture<?>> futures = Lists.newArrayListWithExpectedSize(testThreadsCount);
        for (int i = 0; i < testThreadsCount; i++) {
            futures.add(executor.submit(
                                new Runnable() {
                                    @Override
                                    public void run() {
                                        // Ensure that each thread gets the 1000 microseconds for the mocked millisecond value,
                                        // in order
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.