Package org.apache.wsif

Examples of org.apache.wsif.WSIFRequest


      throw new WSIFException("cannot find service for port: " + port);
    }

    formatter = (JMSFormatter) fieldJmsPort.getFormatter();

    WSIFRequest request = new WSIFRequest(serviceModel.getQName());
    request.setIncomingMessage(message);
    request.setOperationName(fieldOperation.getName());
    request.setPortName(fieldJmsPort.getPortModel().getName());
    request.setInputName(fieldBindingOperation.getBindingInput().getName());

    javax.jms.Message jmsMessage =
      jmsDest.createMessage(getJMSMessageType());

    formatter.formatRequest(request, jmsMessage);
View Full Code Here


    public WSIFRequest unformatRequest(javax.jms.Message in)
        throws WSIFException {
        Trc.entry(this, in);
        // Need to construct the request.
        WSIFRequest req = createRequest(in);

    Binding binding = fieldPort.getBinding();
        BindingOperation bop =
            binding.getBindingOperation(
                req.getOperationName(),
                req.getInputName(),
                req.getOutputName());

        javax.wsdl.Message inMessage = bop.getOperation().getInput().getMessage();

        org.apache.wsif.providers.jms.JMSMessage fhMsg =
            new org.apache.wsif.providers.jms.JMSMessage(
                fieldDefinition,
                binding,
                inMessage,
                getInputParts(bop));

        fhMsg.read(in);

        req.setIncomingMessage(fhMsg);

        Trc.exit(req);
        return req;
    }
View Full Code Here

    if (operationName == null)
       throw new WSIFException( "Unable to determine Operation" );

       
    WSIFRequest request = new WSIFRequest( serviceName );
    request.setPortName( fieldPort.getName() );
        request.setOperationName( operationName );
        request.setInputName( input );
        request.setOutputName( output );
        Trc.exit( request );
        return request;
    }
View Full Code Here

TOP

Related Classes of org.apache.wsif.WSIFRequest

Copyright © 2018 www.massapicom. 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.