Examples of WebMethodAnnotation


Examples of com.leansoft.mwsc.model.annotation.WebMethodAnnotation

       
        return soapBindingAnn;
    }
   
    private WebMethodAnnotation getWebMethodAnnotation(Operation operation, String methodName) {
      WebMethodAnnotation webMethodAnn = new WebMethodAnnotation();
     
      String operationName = operation.getName().getLocalPart();
      if(!methodName.equals(operationName)) {
        webMethodAnn.setOperationName(operationName);
      }
     
        if (operation.getSOAPAction() != null && operation.getSOAPAction().length() > 0){
            webMethodAnn.setAction(operation.getSOAPAction());
        }
       
        return webMethodAnn;
    }
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

    PhasesInfo pinfo = axisConfiguration.getPhasesInfo();
    for (int i = 0; i < method.length; i++) {
      Method jmethod = method[i];

            String methodName = jmethod.getName();
            WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(jmethod);
            if (methodAnnon != null) {
                if (methodAnnon.getOperationName() != null){
                    methodName = methodAnnon.getOperationName();
                }
            }
      AxisOperation operation = axisService.getOperation(new QName(methodName));

      String mep = operation.getMessageExchangePattern();
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

        for (Method jMethod : declaredMethods) {
            if (jMethod.isBridge()) {
                continue;
            }

            WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(jMethod);
            String methodName = jMethod.getName();
            if (methodAnnon != null) {
                if (methodAnnon.isExclude()) {
                    continue;
                }
                if (methodAnnon.getOperationName() != null){
                    methodName = methodAnnon.getOperationName();
                }
            }

            // no need to think abt this method , since that is system
            // config method
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

            operation = AxisOperationFactory
                    .getAxisOperation(WSDLConstants.MEP_CONSTANT_IN_OUT);
        }
        String opName = method.getName();

        WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(method);
        if (methodAnnon != null) {
            String action = methodAnnon.getAction();
            if (action != null && !"".equals(action)) {
                operation.setSoapAction(action);
            }
            if (methodAnnon.getOperationName() != null){
                opName = methodAnnon.getOperationName();
            }
        }

        operation.setName(new QName(opName));
        return operation;
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

        for (Method jMethod : declaredMethods) {
            if (jMethod.isBridge()) {
                continue;
            }
            WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(jMethod);
            if (methodAnnon != null) {
                if (methodAnnon.isExclude()) {
                    continue;
                }
            }
            String methodName = jMethod.getName();
            // no need to think abt this method , since that is system
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

            operation = AxisOperationFactory
                    .getAxisOperation(WSDLConstants.MEP_CONSTANT_IN_OUT);
        }
        String opName = method.getName();
        operation.setName(new QName(opName));
        WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(method);
        if (methodAnnon != null) {
            String action = methodAnnon.getAction();
            if (action != null && !"".equals(action)) {
                operation.setSoapAction(action);
            }
        }
        return operation;
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

            operation = AxisOperationFactory
                    .getAxisOperation(WSDLConstants.MEP_CONSTANT_IN_OUT);
        }
        String opName = method.getName();
        operation.setName(new QName(opName));
        WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(method);
        if (methodAnnon != null) {
            String action = methodAnnon.getAction();
            if (action != null && !"".equals(action)) {
                operation.setSoapAction(action);
            }
        }
        return operation;
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

        for (Method jMethod : declaredMethods) {
            if (jMethod.isBridge()) {
                continue;
            }
            WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(jMethod);
            if (methodAnnon != null) {
                if (methodAnnon.isExclude()) {
                    continue;
                }
            }
            String methodName = jMethod.getName();
            // no need to think abt this method , since that is system
View Full Code Here

Examples of org.apache.axis2.jsr181.WebMethodAnnotation

        for (Method jMethod : declaredMethods) {
            if (jMethod.isBridge()) {
                continue;
            }
            WebMethodAnnotation methodAnnon = JSR181Helper.INSTANCE.getWebMethodAnnotation(jMethod);
            if (methodAnnon != null) {
                if (methodAnnon.isExclude()) {
                    continue;
                }
            }
            String methodName = jMethod.getName();
            // no need to think abt this method , since that is system
View Full Code Here

Examples of org.codehaus.xfire.annotations.WebMethodAnnotation

        control.setDefaultReturnValue(true);
       
        webAnnotations.hasWebMethodAnnotation(echoMethod);
        control.setDefaultReturnValue(true);
       
        WebMethodAnnotation wma = new WebMethodAnnotation();
        wma.setOperationName("echo");
        webAnnotations.getWebMethodAnnotation(echoMethod);
        control.setDefaultReturnValue(wma);
       
        webAnnotations.hasWebParamAnnotation(echoMethod, 0);
        control.setDefaultReturnValue(false);
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.