Examples of BindingType


Examples of javax.xml.ws.BindingType

        }
    }

    protected boolean isSOAP12() {
        if (!this.context.optionSet(ToolConstants.CFG_SOAP12)) {
            BindingType bType = getServiceClass().getAnnotation(BindingType.class);
            if (bType != null) {
                return SOAPBinding.SOAP12HTTP_BINDING.equals(bType.value());
            }
            return false;
        }
        return true;
    }
View Full Code Here

Examples of javax.xml.ws.BindingType

            hasJaxwsAnnotation = true;
        }                          
       
       
       // Process @BindingType annotation - POJO_8037
        BindingType bindingType = clazz.getAnnotation(BindingType.class);
     
      if ( bindingType != null ) {
        String bindingTypeValue = bindingType.value();     
        for ( Service service : type.getServices() ) {
          addBindingTypeIntent(service, bindingTypeValue);
        }
        hasJaxwsAnnotation = true;
      }
View Full Code Here

Examples of javax.xml.ws.BindingType

            return false;
        }
    }

    public static String getBindingURIFromAnnot(Class clazz) {
        BindingType bindingType = (BindingType) clazz.getAnnotation(BindingType.class);
        if (bindingType == null) {
            return "";
        } else {
            return bindingType.value();
        }
    }
View Full Code Here

Examples of javax.xml.ws.BindingType

        }
    }

    protected boolean isSOAP12() {
        if (!this.context.optionSet(ToolConstants.CFG_SOAP12)) {
            BindingType bType = getServiceClass().getAnnotation(BindingType.class);
            if (bType != null) {
                return SOAPBinding.SOAP12HTTP_BINDING.equals(bType.value());
            }
            return false;
        }
        return true;
    }
View Full Code Here

Examples of javax.xml.ws.BindingType

        }
        return null;
    }
   
    public String getBindingType() {
        BindingType bType = implementorClass.getAnnotation(BindingType.class);
        if (bType != null) {
            return bType.value();
        }
        return SOAPBinding.SOAP11HTTP_BINDING;
    }
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.enums.BindingType

    @Override
    public void run(Session session) throws Exception {
        CmisTestResult f;

        BindingType binding = getBinding();

        addResult(createInfoResult("Binding: " + binding));

        f = createResult(WARNING, "HTTPS is not used. Credentials might be transferred as plain text!");
View Full Code Here

Examples of org.apache.chemistry.opencmis.commons.enums.BindingType

        layout.getConstraints(parent).setConstraint(SpringLayout.EAST, x);
    }

    private Map<String, String> createBasicSessionParameters() {
        String url = urlField.getText();
        BindingType binding = bindingAtomButton.isSelected() ? BindingType.ATOMPUB : BindingType.WEBSERVICES;
        String username = usernameField.getText();
        String password = new String(passwordField.getPassword());

        ClientSession.Authentication authentication = ClientSession.Authentication.NONE;
        if (authenticationStandardButton.isSelected()) {
View Full Code Here

Examples of org.apache.cxf.binding.corba.wsdl.BindingType

           
            for (Iterator extIter = extElements.iterator(); extIter.hasNext();) {
                java.lang.Object element = extIter.next();
               
                if (element instanceof BindingType) {
                    BindingType bt = (BindingType)element;                   
                    if (bt.getRepositoryID().equals(repositoryID)) {
                        if (wsdlVisitor.getSupportPolymorphicFactories()) {
                            return new QName(b.getQName().getNamespaceURI(),
                                             "InferFromTypeId",
                                             b.getQName().getPrefix());
           
View Full Code Here

Examples of org.apache.cxf.binding.corba.wsdl.BindingType

        binding.setPortType(portType);
        binding.setQName(bqname);

        bindingNames.add(bname);
        mapBindingToInterface(portType.getQName().getLocalPart(), bname);
        BindingType bindingType = null;
       
        addCorbaTypeMap(def);
       
        try {
            bindingType = (BindingType)extReg
                .createExtension(Binding.class, CorbaConstants.NE_CORBA_BINDING);
            bindingType.setRepositoryID(WSDLToCorbaHelper.REPO_STRING
                                        + binding.getPortType().getQName().getLocalPart().replace('.', '/')
                                        + WSDLToCorbaHelper.IDL_VERSION);

            binding.addExtensibilityElement(bindingType);
        } catch (WSDLException ex) {
View Full Code Here

Examples of org.apache.schemas.yoko.bindings.corba.BindingType

                            obj.setBinding(bName);
                            // get the repository id of the binding.
                            String repId = null;
                            Iterator bindIter = binding.getExtensibilityElements().iterator();
                            while (bindIter.hasNext()) {
                                BindingType type = (BindingType)bindIter.next();
                                repId = type.getRepositoryID();                              
                            }
                            obj.setRepositoryID(repId);
                            obj.setType(typeName);
                            corbaTypeImpl = obj;
                        } else {
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.