Examples of PortTypeType


Examples of org.ogce.schemas.gfac.documents.PortTypeType

        }
    }

    public static MethodType findOperationFromServiceMap(String operationName,
            ServiceMapType serviceMap) throws GFacSchemaException {
        PortTypeType portType = serviceMap.getPortTypeArray()[0];
        MethodType[] methods = portType.getMethodArray();
        for (int i = 0; i < methods.length; i++) {
            if (methods[i].getMethodName().equals(operationName)) {
                return methods[i];
            }
        }

        if (isInbuiltOperation(operationName)) {
            MethodType method = portType.addNewMethod();
            method.setMethodName(operationName);
            return method;
        }

        throw new GFacSchemaException("Method name " + operationName + " not found");
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.PortTypeType

      throw new GfacException(e, FaultCode.InvaliedLocalArgumnet);
    }
  }

  public static MethodType findOperationFromServiceMap(String operationName, ServiceMapType serviceMap) throws GfacException {
    PortTypeType portType = serviceMap.getPortTypeArray()[0];
    MethodType[] methods = portType.getMethodArray();
    for (int i = 0; i < methods.length; i++) {
      if (methods[i].getMethodName().equals(operationName)) {
        return methods[i];
      }
    }

    if (isInbuiltOperation(operationName)) {
      MethodType method = portType.addNewMethod();
      method.setMethodName(operationName);
      return method;
    }

    throw new GfacException("Method name " + operationName + " not found", FaultCode.InvaliedLocalArgumnet);
View Full Code Here

Examples of org.ogce.schemas.gfac.documents.PortTypeType

        }
    }

    public static MethodType findOperationFromServiceMap(String operationName,
            ServiceMapType serviceMap) throws GfacException {
        PortTypeType portType = serviceMap.getPortTypeArray()[0];
        MethodType[] methods = portType.getMethodArray();
        for (int i = 0; i < methods.length; i++) {
            if (methods[i].getMethodName().equals(operationName)) {
                return methods[i];
            }
        }

        if (isInbuiltOperation(operationName)) {
            MethodType method = portType.addNewMethod();
            method.setMethodName(operationName);
            return method;
        }

        throw new GfacException("Method name " + operationName + " not found",FaultCode.InvaliedLocalArgumnet);
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.