Package org.eclipse.wst.wsdl

Examples of org.eclipse.wst.wsdl.Operation


    else
      createWsdlParameterMapping(method, operation, parameter, paramName, xsdType, javax.jws.soap.SOAPBinding.Style.DOCUMENT, javax.jws.soap.SOAPBinding.Use.LITERAL, javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED);   
  }
  @SuppressWarnings("unchecked")
  <T> void createWsdlStyleMapping(CtMethod<T> m){
    Operation operation = methodOperationMap.get(m);
    String operationName = operation.getName();
    javax.jws.WebMethod webMethod = m.getAnnotation(javax.jws.WebMethod.class);
    if (webMethod != null && !webMethod.operationName().equals(""))
      operationName = webMethod.operationName();     
    javax.jws.soap.SOAPBinding soapBinding = typeSoapBindingMap.get(m.getDeclaringType());
    if (soapBinding != null){
View Full Code Here


          PortType portType = typePortTypeMap.get(intf);
          if (portType != null){
            for(CtMethod<?> intfMeth : intf.getAllMethods()){             
              if (intfMeth.getSimpleName().equals(m.getSimpleName()) &&
                  intfMeth.getSignature().equals(m.getSignature())){             
                Operation operation = methodOperationMap.get(intfMeth);
                if (operation != null)
                  return operation;
              }
            }
          }
View Full Code Here

  void setInvokeResult(Invoke invoke, CtExpression<?> result, BpelScope scope){
   
    scan(result);
    ASTNodeData resultData = nodeDataStack.peek();
   
    Operation operation = invoke.getOperation();
    javax.jws.soap.SOAPBinding soapBinding = operationSoapBindingMap.get(operation);
    List<Part> msgParts = operation.getOutput().getMessage().getOrderedParts(null);
    Variable tmp = createTempMsgVar((Message)operation.getOutput().getMessage(),scope);
    invoke.setOutputVariable(tmp);
   
    From from = BPELFactory.eINSTANCE.createFrom();
    from.setVariable(tmp);
    Query fromQuery = BPELFactory.eINSTANCE.createQuery();
View Full Code Here

  }
 
 
  @SuppressWarnings("unchecked")
  void setReplyParameters(Receive recv, Reply reply, Variable variable, XSDTypeDefinition type, XpathExpression xpath, BpelScope scope){
    Operation operation = recv.getOperation();
    reply.setPartnerLink(recv.getPartnerLink());
    reply.setOperation(operation);
    reply.setPortType(recv.getPortType());   
    reply.setVariable(variable);
   
    From from = BPELFactory.eINSTANCE.createFrom();
    from.setVariable(variable);
    Query fromQuery = BPELFactory.eINSTANCE.createQuery();
    fromQuery.setValue(xpath.evaluate());
    fromQuery.setQueryLanguage(XPATH_NAMESPACE);
    from.setQuery(fromQuery);
   
    To to = BPELFactory.eINSTANCE.createTo();
    to.setVariable(variable);
    Query toQuery = BPELFactory.eINSTANCE.createQuery();
    toQuery.setQueryLanguage(XPATH_NAMESPACE);
   
    javax.jws.soap.SOAPBinding soapBinding = operationSoapBindingMap.get(operation);
    Message message = null;
    javax.wsdl.Fault f = operation.getFault(type.getName());
    if (f != null){
      message = (org.eclipse.wst.wsdl.Message)f.getMessage();
    } else {
      javax.wsdl.Output output = operation.getOutput();
      if (output != null)
        message = (org.eclipse.wst.wsdl.Message)output.getMessage();
    }
    if (message != null){
      List<Part> msgParts = message.getOrderedParts(null);
View Full Code Here

TOP

Related Classes of org.eclipse.wst.wsdl.Operation

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.