Examples of WsdlReturnValueMapping


Examples of org.jboss.ws.metadata.jaxrpcmapping.WsdlReturnValueMapping

/*     */         }
/* 321 */         String javaType = getJavaTypeAsString(xmlName, xmlType, array, primitive);
/*     */
/* 323 */         if (((!isDocStyle()) && ("void".equals(javaType)) ? 1 : 0) == 0)
/*     */         {
/* 325 */           WsdlReturnValueMapping wrvm = new WsdlReturnValueMapping(semm);
/* 326 */           wrvm.setMethodReturnValue(javaType);
/* 327 */           wrvm.setWsdlMessage(messageName);
/* 328 */           wrvm.setWsdlMessagePartName(partName);
/* 329 */           semm.setWsdlReturnValueMapping(wrvm);
/*     */         }
/*     */       }
/*     */     }
/*     */
View Full Code Here

Examples of org.jboss.ws.metadata.jaxrpcmapping.WsdlReturnValueMapping

/*     */
/* 457 */       XSTypeDefinition xt = schemaModel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/* 458 */       if ((xt instanceof XSSimpleTypeDefinition)) {
/* 459 */         xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
/*     */       }
/* 461 */       WsdlReturnValueMapping wrvm = new WsdlReturnValueMapping(semm);
/* 462 */       wrvm.setMethodReturnValue(getJavaTypeAsString(xmlName, xmlType, false, true));
/* 463 */       QName messageName = WSDLUtils.getWsdl11Output(wiop).getMessageName();
/* 464 */       wrvm.setWsdlMessage(new QName(messageName.getNamespaceURI(), messageName.getLocalPart(), "wsdlMsgNS"));
/* 465 */       wrvm.setWsdlMessagePartName(partName);
/* 466 */       semm.setWsdlReturnValueMapping(wrvm);
/*     */     }
/*     */
/* 469 */     if (bindingOperation != null)
/*     */     {
View Full Code Here

Examples of org.jboss.ws.metadata.jaxrpcmapping.WsdlReturnValueMapping

/* 304 */     methodMapping.addMethodParamPartsMapping(paramMapping);
/*     */   }
/*     */
/*     */   private void buildReturnParamMapping(ServiceEndpointMethodMapping methodMapping, String interfaceName, OperationMetaData operation, String name, String type)
/*     */   {
/* 309 */     WsdlReturnValueMapping returnMapping = new WsdlReturnValueMapping(methodMapping);
/* 310 */     returnMapping.setMethodReturnValue(type);
/* 311 */     returnMapping.setWsdlMessagePartName(name);
/* 312 */     String messageName = interfaceName + "_" + operation.getQName().getLocalPart() + "Response";
/* 313 */     QName messageQName = new QName(this.wsdl.getTargetNamespace(), messageName, "wsdlMsgNS");
/* 314 */     returnMapping.setWsdlMessage(messageQName);
/* 315 */     methodMapping.setWsdlReturnValueMapping(returnMapping);
/*     */   }
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.