Package org.jboss.ws.metadata.wsdl

Examples of org.jboss.ws.metadata.wsdl.WSDLTypes


/* 110 */     JavaWsdlMapping javaWsdlMapping = serviceMetaData.getJavaWsdlMapping();
/* 111 */     TypesMetaData typesMetaData = serviceMetaData.getTypesMetaData();
/*     */
/* 114 */     if (wsdlDefinitions != null)
/*     */     {
/* 116 */       WSDLTypes wsdlTypes = wsdlDefinitions.getWsdlTypes();
/* 117 */       typesMetaData.setSchemaModel(WSDLUtils.getSchemaModel(wsdlTypes));
/*     */     }
/*     */
/* 121 */     if (javaWsdlMapping != null)
/*     */     {
View Full Code Here


/*     */
/*     */   private void setupXOPAttachmentParameter(WSDLInterfaceOperation operation, ParameterMetaData paramMetaData)
/*     */   {
/* 509 */     QName xmlType = paramMetaData.getXmlType();
/*     */
/* 512 */     WSDLTypes wsdlTypes = operation.getWsdlInterface().getWsdlDefinitions().getWsdlTypes();
/* 513 */     JBossXSModel schemaModel = WSDLUtils.getSchemaModel(wsdlTypes);
/* 514 */     String localPart = xmlType.getLocalPart() != null ? xmlType.getLocalPart() : "";
/* 515 */     String ns = xmlType.getNamespaceURI() != null ? xmlType.getNamespaceURI() : "";
/* 516 */     XSTypeDefinition xsType = schemaModel.getTypeDefinition(localPart, ns);
/* 517 */     XOPScanner scanner = new XOPScanner();
View Full Code Here

/*      */   private void processTypes(Definition srcWsdl, URL wsdlLoc)
/*      */     throws IOException, WSDLException
/*      */   {
/*  336 */     log.trace("BEGIN processTypes: " + wsdlLoc);
/*      */
/*  338 */     WSDLTypes destTypes = this.destWsdl.getWsdlTypes();
/*      */
/*  340 */     Types srcTypes = srcWsdl.getTypes();
/*  341 */     if ((srcTypes != null) && (srcTypes.getExtensibilityElements().size() > 0))
/*      */     {
/*  343 */       List extElements = srcTypes.getExtensibilityElements();
View Full Code Here

   private void processTypes(Definition srcWsdl, URL wsdlLoc) throws IOException, WSDLException
   {
      log.trace("BEGIN processTypes: " + wsdlLoc);

      WSDLTypes destTypes = destWsdl.getWsdlTypes();

      Types srcTypes = srcWsdl.getTypes();
      if (srcTypes != null && srcTypes.getExtensibilityElements().size() > 0)
      {
         List extElements = srcTypes.getExtensibilityElements();
View Full Code Here

/* 438 */     QName elementName = header.getElement();
/*     */
/* 440 */     JBossXSModel xsmodel = WSDLUtils.getSchemaModel(this.wsdl.getWsdlTypes());
/* 441 */     XSElementDeclaration xe = xsmodel.getElementDeclaration(elementName.getLocalPart(), elementName.getNamespaceURI());
/* 442 */     XSTypeDefinition xt = xe.getTypeDefinition();
/* 443 */     WSDLTypes wsdlTypes = this.wsdl.getWsdlTypes();
/* 444 */     QName xmlType = wsdlTypes.getXMLType(header.getElement());
/*     */
/* 447 */     xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/*     */
/* 449 */     if (buf.length() > 0)
/*     */     {
View Full Code Here

/*     */   public void eagerInitialize()
/*     */   {
/* 412 */     WSDLDefinitions definitions = getWsdlDefinitions();
/* 413 */     if (definitions != null)
/*     */     {
/* 415 */       WSDLTypes types = definitions.getWsdlTypes();
/* 416 */       if (types != null)
/*     */       {
/* 418 */         JBossXSModel model = WSDLUtils.getSchemaModel(types);
/* 419 */         if (model != null) {
/* 420 */           model.eagerInitialize();
View Full Code Here

/* 369 */     QName elementName = header.getElement();
/*     */
/* 371 */     JBossXSModel xsmodel = WSDLUtils.getSchemaModel(this.wsdlDefinitions.getWsdlTypes());
/* 372 */     XSElementDeclaration xe = xsmodel.getElementDeclaration(elementName.getLocalPart(), elementName.getNamespaceURI());
/* 373 */     XSTypeDefinition xt = xe.getTypeDefinition();
/* 374 */     WSDLTypes wsdlTypes = this.wsdlDefinitions.getWsdlTypes();
/* 375 */     QName xmlType = wsdlTypes.getXMLType(header.getElement());
/*     */
/* 378 */     xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/* 379 */     if ((xt instanceof XSSimpleTypeDefinition))
/* 380 */       xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
/* 381 */     String partName = header.getPartName();
View Full Code Here

/* 672 */     if ((zeroarg1 != null) && ("true".equals(zeroarg1))) {
/* 673 */       return null;
/*     */     }
/* 675 */     QName xmlType = part.getXMLType();
/*     */
/* 677 */     WSDLTypes types = this.wsdlDefinitions.getWsdlTypes();
/* 678 */     JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
/* 679 */     return xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/*     */   }
View Full Code Here

/* 679 */     return xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/*     */   }
/*     */
/*     */   private XSTypeDefinition getXSType(QName xmlType)
/*     */   {
/* 684 */     WSDLTypes types = this.wsdlDefinitions.getWsdlTypes();
/* 685 */     JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
/* 686 */     return xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/*     */   }
View Full Code Here

/* 139 */     buffer.append(">");
/*     */   }
/*     */
/*     */   protected void appendTypes(StringBuilder buffer, String namespace)
/*     */   {
/* 144 */     WSDLTypes wsdlTypes = this.wsdl.getWsdlTypes();
/*     */
/* 146 */     if ((wsdlTypes.getNamespace() != null) && (!wsdlTypes.getNamespace().equals(namespace))) {
/* 147 */       return;
/*     */     }
/* 149 */     if ((wsdlTypes instanceof XSModelTypes))
/*     */     {
/* 151 */       buffer.append("<types>");
View Full Code Here

TOP

Related Classes of org.jboss.ws.metadata.wsdl.WSDLTypes

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.