Package org.jboss.ws.core.soap

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


   /** Create the SOAP-1.1 message */
   protected MessageAbstraction createMessage(OperationMetaData opMetaData) throws SOAPException
   {
      SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgFactory.createMessage();
     
      Use encStyle = opMetaData.getEndpointMetaData().getEncodingStyle();
      if (Use.ENCODED.equals(encStyle))
      {
         SOAPEnvelope soapEnvelope = soapMessage.getSOAPPart().getEnvelope();
         soapEnvelope.addNamespaceDeclaration(Constants.PREFIX_SOAP11_ENC, Constants.URI_SOAP11_ENC);
      }
View Full Code Here


/* 325 */     return wsdlDefinitions;
/*     */   }
/*     */
/*     */   public TypeMappingImpl getTypeMapping()
/*     */   {
/* 330 */     Use encStyle = getEncodingStyle();
/* 331 */     TypeMappingImpl typeMapping = (TypeMappingImpl)this.tmRegistry.getTypeMapping(encStyle.toURI());
/* 332 */     if (typeMapping == null) {
/* 333 */       throw new WSException("No type mapping for encoding style: " + encStyle);
/*     */     }
/* 335 */     return typeMapping;
/*     */   }
View Full Code Here

/* 459 */     return wsdlPosition;
/*     */   }
/*     */
/*     */   private void setupSOAPArrayParameter(ParameterMetaData paramMetaData)
/*     */   {
/* 469 */     Use use = paramMetaData.getOperationMetaData().getUse();
/* 470 */     String xmlTypeLocalPart = paramMetaData.getXmlType().getLocalPart();
/* 471 */     if ((use == Use.ENCODED) && (xmlTypeLocalPart.indexOf("ArrayOf") >= 0))
/*     */     {
/* 473 */       paramMetaData.setSOAPArrayParam(true);
/*     */       try
View Full Code Here

/*    */   protected MessageAbstraction createMessage(OperationMetaData opMetaData)
/*    */     throws SOAPException
/*    */   {
/* 59 */     SOAPMessageImpl soapMessage = (SOAPMessageImpl)this.msgFactory.createMessage();
/*    */
/* 61 */     Use encStyle = opMetaData.getEndpointMetaData().getEncodingStyle();
/* 62 */     if (Use.ENCODED.equals(encStyle))
/*    */     {
/* 64 */       SOAPEnvelope soapEnvelope = soapMessage.getSOAPPart().getEnvelope();
/* 65 */       soapEnvelope.addNamespaceDeclaration("soap11-enc", "http://schemas.xmlsoap.org/soap/encoding/");
/*    */     }
View Full Code Here

TOP

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

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.