Package org.jboss.ws.metadata.umdm

Examples of org.jboss.ws.metadata.umdm.OperationMetaData.addParameter()


            // return value, we have to add them to a parameter with an index of
            // -1 to signify the return value. All other binding styles use the
            // expected return value mechanism.
            if (opMetaData.isDocumentWrapped())
            {
               opMetaData.addParameter(retMetaData);
            }
            else
            {
               // See above comment in the parameter for loop section as to why
               // we prevent customization of part names on document wrapped
View Full Code Here


      // Setup invoke param
      Class paramType = Source.class;
      QName xmlName = SOAPContentElement.GENERIC_PARAM_NAME;
      QName xmlType = Constants.TYPE_LITERAL_ANYTYPE;
      ParameterMetaData pmd = new ParameterMetaData(opMetaData, xmlName, xmlType, paramType.getName());
      opMetaData.addParameter(pmd);

      // Setup invoke return
      xmlName = SOAPContentElement.GENERIC_RETURN_NAME;
      ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, paramType.getName());
      opMetaData.setReturnParameter(retMetaData);
View Full Code Here

         Class paramType = paramTypes[j];
         if(Remote.class.isAssignableFrom(paramType))
            throw new WSException("OpName:" + opname + " param:" + paramType.getName() +
                  " should not extend Remote" );
         //Get the ParameterMetaData for the individual parameters
         om.addParameter(getParameterMetaData(paramType, om, j + 1));
      }


      //Oneway annotation
      Oneway ow = m.getAnnotation(Oneway.class);
View Full Code Here

             * rule, although I will ask for clarification.
             */
            if (anWebParam != null && !opMetaData.isDocumentWrapped() && anWebParam.partName().length() > 0)
               paramMetaData.setPartName(anWebParam.partName());

            opMetaData.addParameter(paramMetaData);
            javaTypes.add(javaType);
            typeRefs.add(new TypeReference(xmlName, genericType, parameterAnnotations[i]));

            processAttachmentAnnotations(scanResult, i, paramMetaData);
            processMIMEBinding(epMetaData, opMetaData, paramMetaData);
View Full Code Here

            // return value, we have to add them to a parameter with an index of
            // -1 to signify the return value. All other binding styles use the
            // expected return value mechanism.
            if (opMetaData.isDocumentWrapped())
            {
               opMetaData.addParameter(retMetaData);
            }
            else
            {
               // See above comment in the parameter for loop section as to why
               // we prevent customization of part names on document wrapped
View Full Code Here

      // Setup invoke param
      Class paramType = Source.class;
      QName xmlName = SOAPContentElement.GENERIC_PARAM_NAME;
      QName xmlType = Constants.TYPE_LITERAL_ANYTYPE;
      ParameterMetaData pmd = new ParameterMetaData(opMetaData, xmlName, xmlType, paramType.getName());
      opMetaData.addParameter(pmd);

      // Setup invoke return
      xmlName = SOAPContentElement.GENERIC_RETURN_NAME;
      ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, paramType.getName());
      opMetaData.setReturnParameter(retMetaData);
View Full Code Here

      ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaType.getName());
      paramMetaData.setMode(mode);
      paramMetaData.setInHeader(inHeader);
      paramMetaData.setIndex(opMetaData.getParameters().size());

      opMetaData.addParameter(paramMetaData);

      registerParameterType(xmlType, javaType);
   }

   /** Removes all specified parameters from this Call instance. Note that this method removes only the parameters and
View Full Code Here

/*     */
/* 164 */     Class paramType = Source.class;
/* 165 */     QName xmlName = SOAPContentElement.GENERIC_PARAM_NAME;
/* 166 */     QName xmlType = Constants.TYPE_LITERAL_ANYTYPE;
/* 167 */     ParameterMetaData pmd = new ParameterMetaData(opMetaData, xmlName, xmlType, paramType.getName());
/* 168 */     opMetaData.addParameter(pmd);
/*     */
/* 171 */     xmlName = SOAPContentElement.GENERIC_RETURN_NAME;
/* 172 */     ParameterMetaData retMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, paramType.getName());
/* 173 */     opMetaData.setReturnParameter(retMetaData);
/*     */   }
View Full Code Here

/* 214 */     OperationMetaData opMetaData = getOperationMetaData();
/* 215 */     ParameterMetaData paramMetaData = new ParameterMetaData(opMetaData, xmlName, xmlType, javaType.getName());
/* 216 */     paramMetaData.setMode(mode);
/* 217 */     paramMetaData.setInHeader(inHeader);
/* 218 */     paramMetaData.setIndex(opMetaData.getParameters().size());
/* 219 */     opMetaData.addParameter(paramMetaData);
/*     */
/* 221 */     registerParameterType(xmlType, javaType);
/*     */   }
/*     */
/*     */   public void removeAllParameters()
View Full Code Here

/*  670 */         paramMetaData.setMode(mode);
/*      */
/*  684 */         if ((anWebParam != null) && (!opMetaData.isDocumentWrapped()) && (anWebParam.partName().length() > 0)) {
/*  685 */           paramMetaData.setPartName(anWebParam.partName());
/*      */         }
/*  687 */         opMetaData.addParameter(paramMetaData);
/*  688 */         this.javaTypes.add(javaType);
/*  689 */         this.typeRefs.add(new TypeReference(xmlName, genericType, parameterAnnotations[i]));
/*      */
/*  691 */         processAttachmentAnnotations(scanResult, i, paramMetaData);
/*  692 */         processMIMEBinding(epMetaData, opMetaData, paramMetaData);
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.