Examples of createInputMessage()


Examples of com.volantis.wsif.WSIFOperation.createInputMessage()

        String outputName = (wsdlOutput.getName() == null) ? null :
                wsdlOutput.getName();

        WSIFOperation wsifOperation =
                wsifPort.createOperation(operationName, inputName, outputName);
        WSIFMessage input = wsifOperation.createInputMessage();
        WSIFMessage output = wsifOperation.createOutputMessage();
        WSIFMessage fault = wsifOperation.createFaultMessage();

        initializeInputParts(wsdlInput.getMessage(), message, input);
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

    private Object invokeOperation( WSIFPort port, String name, Object partVal ) throws Exception
    {
        Object result = null;
        WSIFOperation operation = port.createOperation( name );

        WSIFMessage inputMessage = operation.createInputMessage();
        WSIFMessage outputMessage = operation.createOutputMessage();
        WSIFMessage faultMessage = operation.createFaultMessage();
        inputMessage.setObjectPart( "dummy", partVal );

        assertTrue( operation.executeRequestResponseOperation( inputMessage, outputMessage, faultMessage ) );
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

            WSIFOperation operation = port.createOperation( "addEntry", "AddEntryFirstAndLastNamesRequest", null );

            assertNotNull( operation );

            // create the input message associated with this operation
            WSIFMessage input = operation.createInputMessage();

            // populate the input message
            input.setObjectPart( "firstName", "John" );
            input.setObjectPart( "lastName", "Smith" );
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

            WSIFOperation operation = port.createOperation( "getAddressFromName" );

            assertNotNull( operation );

            // create the input message associated with this operation
            WSIFMessage input = operation.createInputMessage();
            WSIFMessage output = operation.createOutputMessage();
            WSIFMessage fault = operation.createFaultMessage();

            // populate the input message
            input.setObjectPart( "name", "John Smith" );
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

                    "addEntry",
                    "AddEntryWholeNameRequest",
                    null);
                   
            // create the input message associated with this operation
            WSIFMessage input = operation.createInputMessage();

            // populate the input message
            input.setObjectPart("name", "John Smith");

            // create an address object to populate the input
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

                    "addEntry",
                    "AddEntryFirstAndLastNamesRequest",
                    null);

            // create the input message associated with this operation
            WSIFMessage input = operation.createInputMessage();

            // populate the input message
            input.setObjectPart("firstName", "Jane");
            input.setObjectPart("lastName", "White");
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

            // create the operation
            WSIFOperation operation =
                port.createOperation("getAddressFromName");

            // create the input message associated with this operation
            WSIFMessage input = operation.createInputMessage();
            WSIFMessage output = operation.createOutputMessage();
            WSIFMessage fault = operation.createFaultMessage();

            // populate the input message
            input.setObjectPart("name", "John Smith");
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

            // create the operation
            operation = port.createOperation("getAddressFromName");
            // create the input message associated with this operation
            input = operation.createInputMessage();
            output = operation.createOutputMessage();
            fault = operation.createFaultMessage();
            // populate the input message
            input.setObjectPart("name", "Jane White");
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

    //-------------------------------------------------------------------------
    protected void process(MessageExchange exchange, NormalizedMessage normalizedMessage) throws MessagingException {
        try {
            WSIFOperationInfo operationInfo = operationMap.getOperationForExchange(exchange);
            WSIFOperation operation = operationInfo.getWsifOperation();
            WSIFMessage message = operation.createInputMessage();
            marshaler.fromNMS(operationInfo, message, normalizedMessage, getBody(normalizedMessage));
            operation.executeInputOnlyOperation(message);
            done(exchange);
        }
        catch (WSIFException e) {
View Full Code Here

Examples of org.apache.wsif.WSIFOperation.createInputMessage()

    protected boolean transform(MessageExchange exchange, NormalizedMessage in, NormalizedMessage out) throws MessagingException {
        try {
            WSIFOperationInfo operationInfo = operationMap.getOperationForExchange(exchange);

            WSIFOperation operation = operationInfo.getWsifOperation();
            WSIFMessage inMessage = operation.createInputMessage();
            Object body = getBody(in);
            marshaler.fromNMS(operationInfo, inMessage, in, body);

            WSIFMessage outMessage = operation.createInputMessage();
            WSIFMessage faultMessage = operation.createInputMessage();
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.