Examples of operation()


Examples of org.jacorb.orb.giop.RequestOutputStream.operation()

            {
                invoke_oneway (ros, interceptors);
                return null;
            }
            // response expected, synchronous or asynchronous
            receiver = new ReplyReceiver(this, ros.operation(), ros.getReplyEndTime(),
                    interceptors, replyHandler);
            receiver.configure(configuration);

            // Store the receiver in pending_replies, so in the
            // case of a LocationForward a RemarshalException can
View Full Code Here

Examples of org.jacorb.orb.portableInterceptor.ClientRequestInfoImpl.operation()

        }
        catch (BAD_PARAM e)
        {
            if (logger.isDebugEnabled())
                logger.debug("Did not find tagged component TAG_CSI_SEC_MECH_LIST: "+
                             ri.operation());
        }
        catch (Exception e)
        {
            if (logger.isWarnEnabled())
                logger.warn("Did not find tagged component TAG_CSI_SEC_MECH_LIST: "+e);
View Full Code Here

Examples of org.jacorb.orb.portableInterceptor.ServerRequestInfoImpl.operation()

        // verify SSL requirements
        if (useSsl && !connection.isSSL())
        {
            if (logger.isErrorEnabled())
                logger.error("SSL required for operation " + ri.operation());
            throw new org.omg.CORBA.NO_PERMISSION("SSL Required!",
                                                  MinorCodes.SAS_TSS_FAILURE,
                                                  CompletionStatus.COMPLETED_NO);
        }
View Full Code Here

Examples of org.jacorb.test.ComplexTimingServer.operation()

       {
          forwardCallMade = true;

          ComplexTimingServer server = ComplexTimingServerHelper.narrow (TestConfig.fwd);

          server.operation (432, 50);
       }

   }

   public void send_poll( org.omg.PortableInterceptor.ClientRequestInfo ri )
View Full Code Here

Examples of org.omg.CORBA.ServerRequest.operation()

        CorbaDSIServant dsiServant = new CorbaDSIServant();       
        IMocksControl control = EasyMock.createNiceControl();
        ServerRequest request = EasyMock.createMock(ServerRequest.class);
        Message msg = EasyMock.createMock(Message.class);            
        String opName = "greetMe";
        EasyMock.expect(request.operation()).andReturn(opName);                       
        MessageObserver incomingObserver = new TestObserver();              
        dsiServant.setObserver(incomingObserver);
       
        control.replay();
        dsiServant.invoke(request);
View Full Code Here

Examples of org.omg.CORBA.ServerRequest.operation()

    public void testInvoke() throws Exception {
        CorbaDSIServant dsiServant = new CorbaDSIServant();      
        IMocksControl control = EasyMock.createNiceControl();
        ServerRequest request = EasyMock.createMock(ServerRequest.class);
        String opName = "greetMe";
        EasyMock.expect(request.operation()).andReturn(opName);
        MessageObserver incomingObserver = new TestObserver();              
        dsiServant.setObserver(incomingObserver);
       
        Map<String, QName> map = new HashMap<String, QName>(2);
        // REVISIT: Something is not setup quite right with this test.  In
View Full Code Here

Examples of org.reficio.ws.builder.SoapBuilder.operation()

        Wsdl parser = Wsdl.parse(wsdlUrl);
        SoapBuilder soapBuilder = parser.binding().name(bindingName).find();

        // get the operation to invoked -> assumption our operation is the first operation in the WSDL's
        SoapOperation operation = soapBuilder.operation().name("GetLastTradePrice").find();

        // construct the request
        String request = soapBuilder.buildInputMessage(operation);
        // post the request to the server
        String response = client.post(request);
View Full Code Here

Examples of org.reficio.ws.builder.SoapBuilder.operation()

    @Test
    @Server(wsdl = "classpath:wsdl/currency-convertor.wsdl", binding = "CurrencyConvertorSoap", port = 41414)
    public void testSoapMock_perMethodServer() {
        SoapClient client = SoapClient.builder().endpointUri("http://localhost:41414/service").build();
        SoapBuilder builder = Wsdl.parse(WSDL).binding().localPart("CurrencyConvertorSoap").find();
        SoapOperation operation = builder.operation().name("ConversionRate").find();
        String request = builder.buildInputMessage(operation);

        log.info("\n" + request);

        String response = client.post(request);
View Full Code Here

Examples of org.reficio.ws.builder.SoapBuilder.operation()

    @Test
    public void testSoapMock_perClassServer() {
        SoapClient client = SoapClient.builder().endpointUri("http://localhost:51515/service").build();
        SoapBuilder builder = Wsdl.parse(WSDL).binding().localPart("CurrencyConvertorSoap").find();
        SoapOperation operation = builder.operation().name("ConversionRate").find();
        String request = builder.buildInputMessage(operation);

        log.info("\n" + request);

        String response = client.post(request);
View Full Code Here

Examples of org.switchyard.test.Invoker.operation()

        Service service = serviceDomain.registerService(serviceName, JavaService.fromClass(DecisionTable.class), handler);
        serviceDomain.registerServiceReference(service.getName(), service.getInterface(), service.getProviderHandler());
        handler.start();
        List<Object> list = new ArrayList<Object>();
        Invoker invoker = new Invoker(serviceDomain, serviceName);
        invoker.operation("insert").property("list", list).sendInOnly(new Cheese("stilton", 42));
        invoker.operation("insert").sendInOnly(new Person("michael", "stilton", 42));
        invoker.operation("fireAllRules").sendInOnly(null);
        Assert.assertEquals(1, list.size());
        Assert.assertEquals("Old man stilton", list.get(0));
        handler.stop();
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.