Examples of WSDLProcessingException


Examples of org.apache.wsdl.impl.WSDLProcessingException

    public void pump() {
        if (null != this.wsdl4jParsedDefinition && null != this.womDefinition) {
            this.populateDefinition(this.womDefinition,
                    this.wsdl4jParsedDefinition);
        } else {
            throw new WSDLProcessingException("Properties not set properly");
        }

    }
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

        WSDLInterface wsdlInterface =
                this.womDefinition.getInterface(interfaceName);

        //FIXME Do We need this eventually???
        if (null == wsdlInterface)
            throw new WSDLProcessingException("Interface/PortType not found for the Binding :"
                    + wsdlBinding.getName());
        wsdlBinding.setBoundInterface(wsdlInterface);
        Iterator bindingoperationsIterator =
                wsdl4JBinding.getBindingOperations().iterator();
        WSDLBindingOperation wsdlBindingOperation;
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

     */
    private WSDLInterface getBoundInterface(WSDLService service) {

        // Throw an exception if there are no interfaces defined as at yet.
        if (0 == this.womDefinition.getWsdlInterfaces().size())
            throw new WSDLProcessingException("There are no "
                    +
                    "Interfaces/PortTypes identified in the current partially built"
                    + "WOM");

//If there is only one Interface available hten return that because
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

    addPolicyAsExtElements(description, policyList, wsdlService,
        servicePolicyInclude);

    Iterator wsdlEndpoints = wsdlService.getEndpoints().values().iterator();
    if (!wsdlEndpoints.hasNext()) {
      throw new WSDLProcessingException("should at least one endpoints");
    }

    WSDLEndpoint wsdlEndpoint = (WSDLEndpoint) wsdlEndpoints.next();
    populatePolicy(description, wsdlEndpoint, axisService);
  }
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

        // getting the port of the service with SOAP binding
        Map ports = wsdl4jService.getPorts();

        if (ports.isEmpty()) {
            logger.error(Messages.getMessage("serviceporterror"));
            throw new WSDLProcessingException(Messages.getMessage("serviceporterror"));
        }

        Port wsdl4jPort = getPortWithSoapBinding(ports);

        if (wsdl4jPort == null) {
            logger.error(Messages.getMessage("soapbindingerror"));
            throw new WSDLProcessingException(Messages.getMessage("soapbindingerror"));
        }

        Binding wsdl4jBinding = wsdl4jPort.getBinding();
        PortType wsdl4jPortType = wsdl4jBinding.getPortType();
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

    public void pump() {
        if (null != this.wsdl4jParsedDefinition && null != this.womDefinition) {
            this.populateDefinition(this.womDefinition,
                    this.wsdl4jParsedDefinition);
        } else {
            throw new WSDLProcessingException("Properties not set properly");
        }

    }
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

        WSDLInterface wsdlInterface =
                this.womDefinition.getInterface(interfaceName);

        //FIXME Do We need this eventually???
        if (null == wsdlInterface)
            throw new WSDLProcessingException("Interface/PortType not found for the Binding :"
                    + wsdlBinding.getName());
        wsdlBinding.setBoundInterface(wsdlInterface);
        Iterator bindingoperationsIterator =
                wsdl4JBinding.getBindingOperations().iterator();
        WSDLBindingOperation wsdlBindingOperation;
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

     */
    private WSDLInterface getBoundInterface(WSDLService service) {

        // Throw an exception if there are no interfaces defined as at yet.
        if (0 == this.womDefinition.getWsdlInterfaces().size())
            throw new WSDLProcessingException("There are no "
                    +
                    "Interfaces/PortTypes identified in the current partially built"
                    + "WOM");

//If there is only one Interface available hten return that because
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

    // getting the port of the service with SOAP binding
    Map ports = wsdl4jService.getPorts();

    if (ports.isEmpty()) {
      logger.error("atleast one port should be specified");
      throw new WSDLProcessingException(
          "atleast one Port should be specified");
    }

    Port wsdl4jPort = getPortWithSoapBinding(ports);

    if (wsdl4jPort == null) {
      logger
          .error("atleast one port with a soap binding should be specified");
      throw new WSDLProcessingException("no port with soap binding found");
    }

    Binding wsdl4jBinding = wsdl4jPort.getBinding();
    PortType wsdl4jPortType = wsdl4jBinding.getPortType();
View Full Code Here

Examples of org.apache.wsdl.impl.WSDLProcessingException

        addPolicyAsExtElements(description, policyList, wsdlService,
                servicePolicyInclude);

        Iterator wsdlEndpoints = wsdlService.getEndpoints().values().iterator();
        if (!wsdlEndpoints.hasNext()) {
            throw new WSDLProcessingException("should at least one endpoints");
        }

        WSDLEndpoint wsdlEndpoint = (WSDLEndpoint) wsdlEndpoints.next();
        populatePolicy(description, wsdlEndpoint, axisService);
    }
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.