Package org.apache.wsdl

Examples of org.apache.wsdl.WSDLBinding


        return doc;
    }

    protected Document createDOMDocumentForTestCase() {
        WSDLInterface boundInterface = infoHolder.getWSDLinterface();
        WSDLBinding binding = infoHolder.getBinding();
        String coreClassName = getCoreClassName(boundInterface);
        Document doc = getEmptyDocument();
        Element rootElement = doc.createElement("class");

        addAttribute(doc, "package", configuration.getPackageName(), rootElement);
View Full Code Here


        return rootElement;
    }

    protected Document createDocumentForMessageReceiver(String mep) {

        WSDLBinding binding = infoHolder.getBinding();
        WSDLInterface boundInterface = infoHolder.getWSDLinterface();
        Document doc = getEmptyDocument();
        Element rootElement = doc.createElement("interface");

        addAttribute(doc, "package", configuration.getPackageName(), rootElement);
View Full Code Here

    /**
     * Emits the skeleton with binding.
     */
    private void emitSkeletonBinding() throws Exception {
        WSDLBinding axisBinding;

        axisBinding = infoHolder.getBinding();

        WSDLInterface wsInterface = infoHolder.getWSDLinterface();

View Full Code Here

                    selectedEndpoint = (WSDLEndpoint) endpoints.values().iterator().next();
                }

                infoHolder.setPort(selectedEndpoint);

                WSDLBinding binding = selectedEndpoint.getBinding();

                infoHolder.setBinding(binding);
                infoHolder.setWSDLinterface(binding.getBoundInterface());
            } else {

                // having no endpoints?? this is surely an exception
                throw new RuntimeException(CodegenMessages.getMessage("emitter.noEndpointsFoundError"));
            }
View Full Code Here

      if (wsdlEndpoint == null) {
        System.err.println("no wsdl:port found for the service");
        return;
      }

      WSDLBinding wsdlBinding = wsdlEndpoint.getBinding();
      wsdlInterface = wsdlBinding.getBoundInterface();

      for (Iterator iterator = wsdlInterface.getOperations().values()
          .iterator(); iterator.hasNext();) {
        WSDLOperation wsdlOperation = (WSDLOperation) iterator.next();
        Policy policy = util.getPolicyForOperation(wsdlEndpoint.getName(),
View Full Code Here

    private void checkCompatibility() {
        Map bindingMap = this.configuration.getWom().getBindings();
        Collection col = bindingMap.values();

        for (Iterator iterator = col.iterator(); iterator.hasNext();) {
            WSDLBinding b = (WSDLBinding) iterator.next();
            HashMap bindingOps = b.getBindingOperations();
            Collection bindingOpsCollection = bindingOps.values();
            for (Iterator iterator1 = bindingOpsCollection.iterator(); iterator1.hasNext();) {
                checkInvalidUse((WSDLBindingOperation) iterator1.next());
            }
View Full Code Here

    private void checkCompatibility() {
        Map bindingMap = this.configuration.getWom().getBindings();
        Collection col = bindingMap.values();

        for (Iterator iterator = col.iterator(); iterator.hasNext();) {
            WSDLBinding b = (WSDLBinding) iterator.next();
            HashMap bindingOps = b.getBindingOperations();
            Collection bindingOpsCollection = bindingOps.values();
            for (Iterator iterator1 = bindingOpsCollection.iterator(); iterator1.hasNext();) {
                foo((WSDLBindingOperation) iterator1.next());
            }
View Full Code Here


    public void engage() {
        String packageName = this.configuration.getPackageName();
        if (packageName == null || URLProcessor.DEFAULT_PACKAGE.equals(packageName)) {
            WSDLBinding binding = configuration.getWom().getBinding(
                    AxisBindingBuilder.AXIS_BINDING_QNAME);
            if (binding != null &&
                    binding.getBoundInterface() != null &&
                    binding.getBoundInterface().getName() != null &&
                    binding.getBoundInterface().getName().getNamespaceURI() != null) {
                String temp = binding.getBoundInterface().getName()
                        .getNamespaceURI();
                packageName = URLProcessor.makePackageName(temp);
            }
        }
View Full Code Here

    private void checkCompatibility() {
        Map bindingMap = this.configuration.getWom().getBindings();
        Collection col = bindingMap.values();

        for (Iterator iterator = col.iterator(); iterator.hasNext();) {
            WSDLBinding b = (WSDLBinding) iterator.next();
            HashMap bindingOps = b.getBindingOperations();
            Collection bindingOpsCollection = bindingOps.values();
            for (Iterator iterator1 = bindingOpsCollection.iterator(); iterator1.hasNext();) {
                foo((WSDLBindingOperation) iterator1.next());
            }
View Full Code Here

     * Generates the model for the callbacks.
     */
    protected Document createDOMDocumentForCallbackHandler() {
        Document doc = getEmptyDocument();
        WSDLInterface boundInterface = infoHolder.getPorttype();
        WSDLBinding axisBinding = infoHolder.getBinding();
        Element rootElement = doc.createElement("callback");

        addAttribute(doc, "package", configuration.getPackageName(), rootElement);
        addAttribute(doc, "name", getCoreClassName(boundInterface) + CALL_BACK_HANDLER_SUFFIX, rootElement);
        addAttribute(doc, "namespace", boundInterface.getName().getNamespaceURI(), rootElement);
View Full Code Here

TOP

Related Classes of org.apache.wsdl.WSDLBinding

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.