Package org.jboss.ws.core.soap

Examples of org.jboss.ws.core.soap.Style


         contentElement = new SOAPHeaderElementImpl(soapName);
         soapElement.addChildElement(contentElement);
      }
      else
      {
         Style style = paramMetaData.getOperationMetaData().getStyle();
         if (style == Style.DOCUMENT)
         {
            contentElement = new SOAPBodyElementDoc(soapName);
            soapElement.addChildElement(contentElement);
         }
View Full Code Here


      {
         log.debug("processSOAPBinding on: " + wsClass.getName());
         SOAPBinding anSoapBinding = wsClass.getAnnotation(SOAPBinding.class);

         SOAPBinding.Style attrStyle = anSoapBinding.style();
         Style style = (attrStyle == SOAPBinding.Style.RPC ? Style.RPC : Style.DOCUMENT);
         epMetaData.setStyle(style);

         SOAPBinding.Use attrUse = anSoapBinding.use();
         if (attrUse == SOAPBinding.Use.ENCODED)
            throw new WSException("SOAP encoding is not supported for JSR-181 deployments");
View Full Code Here

         SOAPHeader soapHeader = soapEnvelope.getHeader();

         // Get the namespace registry
         NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();

         Style style = opMetaData.getStyle();
         SOAPElement soapBodyElement = soapBody;
         if (style == Style.RPC)
         {
            boolean serialize = true;
           
View Full Code Here

         // Get the namespace registry
         NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();

         if (opMetaData.isMessageEndpoint() == false)
         {
            Style style = opMetaData.getStyle();
            SOAPElement payloadParent = soapBody;
            if (style == Style.RPC)
            {
               payloadParent = null;
               Iterator it = soapBody.getChildElements();
View Full Code Here

         SOAPBody soapBody = soapEnvelope.getBody();

         // Get the namespace registry
         NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();

         Style style = opMetaData.getStyle();
         SOAPElement soapBodyElement = soapBody;
         if (style == Style.RPC)
         {
            QName opQName = opMetaData.getResponseName();
View Full Code Here

            }
            unboundHeaders.clear();
            unboundHeaders.putAll(outHeaders);
         }

         Style style = opMetaData.getStyle();
         SOAPElement soapElement = soapBody;
         if (style == Style.RPC)
         {
            if (soapBodyElement == null)
               throw new WSException("Cannot unbind response message with empty soap body");
View Full Code Here

         contentElement = new SOAPHeaderElementImpl(soapName);
         soapElement.addChildElement(contentElement);
      }
      else
      {
         Style style = paramMetaData.getOperationMetaData().getStyle();
         if (style == Style.DOCUMENT)
         {
            contentElement = new SOAPBodyElementDoc(soapName);
            soapElement.addChildElement(contentElement);
         }
View Full Code Here

/*      */     {
/*  130 */       log.debug("processSOAPBinding on: " + wsClass.getName());
/*  131 */       SOAPBinding anSoapBinding = (SOAPBinding)wsClass.getAnnotation(SOAPBinding.class);
/*      */
/*  133 */       SOAPBinding.Style attrStyle = anSoapBinding.style();
/*  134 */       Style style = attrStyle == SOAPBinding.Style.RPC ? Style.RPC : Style.DOCUMENT;
/*  135 */       epMetaData.setStyle(style);
/*      */
/*  137 */       SOAPBinding.Use attrUse = anSoapBinding.use();
/*  138 */       if (attrUse == SOAPBinding.Use.ENCODED) {
/*  139 */         throw new WSException("SOAP encoding is not supported for JSR-181 deployments");
View Full Code Here

/*     */     }
/* 106 */     OperationMetaData om = new OperationMetaData(em, new QName(this.targetNamespace, opname), m.getName());
/*     */
/* 108 */     om.setSOAPAction(soapAction);
/*     */
/* 110 */     Style style = Style.RPC;
/*     */
/* 112 */     SOAPBinding sb = (SOAPBinding)this.endpoint.getAnnotation(SOAPBinding.class);
/* 113 */     if (sb != null)
/*     */     {
/* 115 */       String wsdlStyle = sb.style().name();
View Full Code Here

/* 160 */       SOAPBody soapBody = soapEnvelope.getBody();
/* 161 */       SOAPHeader soapHeader = soapEnvelope.getHeader();
/*     */
/* 164 */       NamespaceRegistry namespaceRegistry = msgContext.getNamespaceRegistry();
/*     */
/* 166 */       Style style = opMetaData.getStyle();
/* 167 */       SOAPElement soapBodyElement = soapBody;
/* 168 */       if (style == Style.RPC)
/*     */       {
/* 170 */         QName opQName = opMetaData.getQName();
/* 171 */         Name opName = new NameImpl(namespaceRegistry.registerQName(opQName));
View Full Code Here

TOP

Related Classes of org.jboss.ws.core.soap.Style

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.