Package com.volantis.wsif

Examples of com.volantis.wsif.WSIFPort


                                                     def.getTargetNamespace(),
                                                     operation.getPortType());

        WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
        WSIFService wsifService = factory.getService(def, service, portType);
        WSIFPort wsifPort = wsifService.getPort();

        String operationName = operation.getOperationName();
        javax.wsdl.Operation wsdlOperation =
                retrieveWSDLOperation(operationName, portType);

        // Get the Input and Output objects to create the WSIFOperation and
        // messages.
        Input wsdlInput = wsdlOperation.getInput();
        String inputName = (wsdlInput.getName() == null) ? null :
                wsdlInput.getName();
        Output wsdlOutput = wsdlOperation.getOutput();
        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

TOP

Related Classes of com.volantis.wsif.WSIFPort

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.