Examples of WSIFPort


Examples of org.apache.wsif.WSIFPort

        List exs = binding.getExtensibilityElements();
        for (Iterator i = exs.iterator(); i.hasNext();) {
            Object o = i.next();
            if (o instanceof EJBBinding) {
                // if so try to create EJB dynamic port instance
                WSIFPort wp = new WSIFPort_EJB(def, port, typeMap);
                Trc.exit(wp);
                return wp;
            }
        }
View Full Code Here

Examples of org.apache.wsif.WSIFPort

        WSIFProvider provider = WSIFPluggableProviders.getProvider(bindingNS);
        if (provider == null) {
            throw new WSIFException(
                "could not find suitable provider for binding namespace '" + bindingNS + "'");
        }
        WSIFPort wsifPort =
            provider.createDynamicWSIFPort(def, service, port, typeMap);
        wsifPort.setContext(getContext());
        return wsifPort;
    }
View Full Code Here

Examples of org.apache.wsif.WSIFPort

        return wsifPort;
    }

    public WSIFPort getPort() throws WSIFException {
        Trc.entry(this);
        WSIFPort wp = null;
        if (preferredPort != null && myPortsMap.get(preferredPort) != null) {
            wp = getPort(this.preferredPort);
        } else {
            if (preferredPort != null)
                MessageLogger.log("WSIF.0011I",preferredPort);
View Full Code Here

Examples of org.apache.wsif.WSIFPort

                        + " no alternative can be found");
            }
        }

        portName = port.getName();
        WSIFPort portInstance = createDynamicWSIFPort(def, service, port);
        if (portInstance == null) {
            throw new WSIFException(
                "Provider was unable to create WSIFPort for port " + portName);
        }
        // Store the chosen port so that we can query which was is being used
View Full Code Here

Examples of org.apache.wsif.WSIFPort

            typeMapInitialised = true;
        }

        // if the port is not available, force the expection now rather
        // rather than go through the rest of this method   
        WSIFPort wsifPort = getPort(portName);

        // If we've got to this line then the port must be available
        PortType pt = getPortTypeFromPortName(portName);

        // If the user has already created a proxy for this interface before
View Full Code Here

Examples of org.apache.wsif.WSIFPort

            typeMapInitialised = true;
        }

        // if the port is not available, force the expection now rather
        // rather than go through the rest of this method   
        WSIFPort wsifPort = getPort();

        // Chosen port has been stored so use it to find portType
        String portName = chosenPort.getName();
        PortType pt = getPortTypeFromPortName(portName);
View Full Code Here

Examples of org.apache.wsif.WSIFPort

               new javax.xml.namespace.QName(
                   "http://soapinterop.org/",
                   "SingleTag"),
               SingleTag_Type.class );

      WSIFPort port = service.getPort(portName);

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

      WSIFMessage inMsg = operation.createInputMessage();
      WSIFMessage outMsg = operation.createOutputMessage();
      WSIFMessage faultMsg = operation.createFaultMessage();
View Full Code Here

Examples of org.apache.wsif.WSIFPort

               new javax.xml.namespace.QName(
                   "http://soapinterop.org/",
                   "SimpleDocument"),
               SimpleDocument_Type.class );

      WSIFPort port = service.getPort(portName);

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

      WSIFMessage inMsg = operation.createInputMessage();
      WSIFMessage outMsg = operation.createOutputMessage();
      WSIFMessage faultMsg = operation.createFaultMessage();
View Full Code Here

Examples of org.apache.wsif.WSIFPort

               new javax.xml.namespace.QName(
                   "http://soapinterop.org/",
                   "ChildDocument"),
               ChildDocument.class );

      WSIFPort port = service.getPort(portName);

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

      WSIFMessage inMsg = operation.createInputMessage();
      WSIFMessage outMsg = operation.createOutputMessage();
      WSIFMessage faultMsg = operation.createFaultMessage();
View Full Code Here

Examples of org.apache.wsif.WSIFPort

        ShortZipCode input,
        String portName) {

        try {

            WSIFPort port = null;
            if (portName != null)
                port = fieldService.getPort(portName);
            else
                port = fieldService.getPort();

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

            WSIFMessage inputMessage = operation.createInputMessage();
            inputMessage.setName("ShortZipCodeSoapIn");

            WSIFMessage outputMessage = operation.createOutputMessage();
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.