Package org.jboss.ws.metadata.jaxrpcmapping

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


/* 930 */     MethodParamPartsMapping mppm = new MethodParamPartsMapping(semm);
/* 931 */     mppm.setParamPosition(paramPosition);
/* 932 */     String javaType = getJavaTypeAsString(xmlName, xmlType, array, primitive);
/* 933 */     mppm.setParamType(javaType);
/*     */
/* 936 */     WsdlMessageMapping wmm = new WsdlMessageMapping(mppm);
/* 937 */     wmm.setParameterMode(paramMode);
/* 938 */     String wsdlNS = "wsdlMsgNS";
/* 939 */     wmm.setWsdlMessage(new QName(targetNS, wsdlMessageName, wsdlNS));
/* 940 */     wmm.setWsdlMessagePartName(wsdlMessagePartName);
/* 941 */     mppm.setWsdlMessageMapping(wmm);
/* 942 */     return mppm;
/*     */   }
View Full Code Here


/*     */   {
/* 289 */     MethodParamPartsMapping paramMapping = new MethodParamPartsMapping(methodMapping);
/* 290 */     paramMapping.setParamPosition(position);
/* 291 */     paramMapping.setParamType(type);
/*     */
/* 293 */     WsdlMessageMapping messageMapping = new WsdlMessageMapping(paramMapping);
/* 294 */     messageMapping.setWsdlMessagePartName(name);
/* 295 */     String messageName = interfaceName + "_" + operation.getQName().getLocalPart();
/* 296 */     if ("OUT".equals(mode))
/* 297 */       messageName = messageName + "Response";
/* 298 */     QName messageQName = new QName(this.wsdl.getTargetNamespace(), messageName, "wsdlMsgNS");
/*     */
/* 300 */     messageMapping.setWsdlMessage(messageQName);
/* 301 */     messageMapping.setParameterMode(mode);
/* 302 */     messageMapping.setSoapHeader(header);
/* 303 */     paramMapping.setWsdlMessageMapping(messageMapping);
/* 304 */     methodMapping.addMethodParamPartsMapping(paramMapping);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.metadata.jaxrpcmapping.WsdlMessageMapping

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.