Package javax.xml.ws.addressing.soap

Examples of javax.xml.ws.addressing.soap.SOAPAddressingBuilder.newAddressingProperties()


    {
      SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
      if (soapMessage.getSOAPPart().getEnvelope() != null)
      {
        SOAPAddressingBuilder builder = (SOAPAddressingBuilder)SOAPAddressingBuilder.getAddressingBuilder();
        SOAPAddressingProperties addrProps = (SOAPAddressingProperties)builder.newAddressingProperties();
        addrProps.readHeaders(soapMessage);
            msgContext.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, addrProps);
            msgContext.setScope(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, Scope.APPLICATION);
            msgContext.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, addrProps);
            msgContext.setScope(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, Scope.APPLICATION);
View Full Code Here


      {
         SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
         if (soapMessage.getSOAPPart().getEnvelope() != null)
         {
            SOAPAddressingBuilder builder = (SOAPAddressingBuilder)SOAPAddressingBuilder.getAddressingBuilder();
            SOAPAddressingProperties addrProps = (SOAPAddressingProperties)builder.newAddressingProperties();
            addrProps.readHeaders(soapMessage);
            msgContext.setProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, addrProps);
            msgContext.setProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, addrProps);
         }
      }
View Full Code Here

    {
      SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
      if (soapMessage.getSOAPPart().getEnvelope() != null)
      {
        SOAPAddressingBuilder builder = (SOAPAddressingBuilder)SOAPAddressingBuilder.getAddressingBuilder();
        SOAPAddressingProperties addrProps = (SOAPAddressingProperties)builder.newAddressingProperties();
        addrProps.readHeaders(soapMessage);
            msgContext.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, addrProps);
            msgContext.setScope(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, Scope.APPLICATION);
            msgContext.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, addrProps);
            msgContext.setScope(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, Scope.APPLICATION);
View Full Code Here

    SOAPAddressingProperties outProps = (SOAPAddressingProperties)msgContext.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND);

    if (outProps == null)
    {
      // create new response properties
      outProps = (SOAPAddressingProperties)builder.newAddressingProperties();
      msgContext.put(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, outProps);
      msgContext.setScope(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, Scope.APPLICATION);
    }
      
    if (inProps != null)
View Full Code Here

/* 112 */     SOAPAddressingProperties inProps = (SOAPAddressingProperties)msgContext.get("javax.xml.ws.addressing.context.inbound");
/* 113 */     SOAPAddressingProperties outProps = (SOAPAddressingProperties)msgContext.get("javax.xml.ws.addressing.context.outbound");
/*     */
/* 115 */     if (outProps == null)
/*     */     {
/* 118 */       outProps = (SOAPAddressingProperties)builder.newAddressingProperties();
/* 119 */       msgContext.put("javax.xml.ws.addressing.context.outbound", outProps);
/* 120 */       msgContext.setScope("javax.xml.ws.addressing.context.outbound", MessageContext.Scope.APPLICATION);
/*     */     }
/*     */
/* 123 */     outProps.initializeAsReply(inProps, isFault);
View Full Code Here

/*     */     {
/* 109 */       SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
/* 110 */       if (soapMessage.getSOAPPart().getEnvelope() != null)
/*     */       {
/* 112 */         SOAPAddressingBuilder builder = (SOAPAddressingBuilder)SOAPAddressingBuilder.getAddressingBuilder();
/* 113 */         SOAPAddressingProperties addrProps = (SOAPAddressingProperties)builder.newAddressingProperties();
/* 114 */         addrProps.readHeaders(soapMessage);
/* 115 */         msgContext.put("javax.xml.ws.addressing.context", addrProps);
/* 116 */         msgContext.setScope("javax.xml.ws.addressing.context", MessageContext.Scope.APPLICATION);
/* 117 */         msgContext.put("javax.xml.ws.addressing.context.inbound", addrProps);
/* 118 */         msgContext.setScope("javax.xml.ws.addressing.context.inbound", MessageContext.Scope.APPLICATION);
View Full Code Here

/* 122 */     SOAPAddressingProperties inProps = (SOAPAddressingProperties)msgContext.getProperty("javax.xml.ws.addressing.context.inbound");
/* 123 */     SOAPAddressingProperties outProps = (SOAPAddressingProperties)msgContext.getProperty("javax.xml.ws.addressing.context.outbound");
/*     */
/* 125 */     if (outProps == null)
/*     */     {
/* 128 */       outProps = (SOAPAddressingProperties)builder.newAddressingProperties();
/* 129 */       msgContext.setProperty("javax.xml.ws.addressing.context.outbound", outProps);
/*     */     }
/*     */
/* 132 */     outProps.initializeAsReply(inProps, isFault);
/*     */     try
View Full Code Here

/*     */     {
/* 106 */       SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
/* 107 */       if (soapMessage.getSOAPPart().getEnvelope() != null)
/*     */       {
/* 109 */         SOAPAddressingBuilder builder = (SOAPAddressingBuilder)SOAPAddressingBuilder.getAddressingBuilder();
/* 110 */         SOAPAddressingProperties addrProps = (SOAPAddressingProperties)builder.newAddressingProperties();
/* 111 */         addrProps.readHeaders(soapMessage);
/* 112 */         msgContext.setProperty("javax.xml.ws.addressing.context", addrProps);
/* 113 */         msgContext.setProperty("javax.xml.ws.addressing.context.inbound", addrProps);
/*     */       }
/*     */     }
View Full Code Here

    SOAPAddressingProperties outProps = (SOAPAddressingProperties)msgContext.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND);

    if (outProps == null)
    {
      // create new response properties
      outProps = (SOAPAddressingProperties)builder.newAddressingProperties();
      msgContext.put(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, outProps);
      msgContext.setScope(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, Scope.APPLICATION);
    }

    outProps.initializeAsReply(inProps, isFault);
View Full Code Here

    {
      SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
      if (soapMessage.getSOAPPart().getEnvelope() != null)
      {
        SOAPAddressingBuilder builder = (SOAPAddressingBuilder)SOAPAddressingBuilder.getAddressingBuilder();
        SOAPAddressingProperties addrProps = (SOAPAddressingProperties)builder.newAddressingProperties();
        addrProps.readHeaders(soapMessage);
            msgContext.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, addrProps);
            msgContext.setScope(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES, Scope.APPLICATION);
            msgContext.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, addrProps);
            msgContext.setScope(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_INBOUND, Scope.APPLICATION);
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.