Package javax.xml.ws.addressing.soap

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


            }

      // Read wsa:MessageID
      // This OPTIONAL element (whose content is of type xs:anyURI) conveys the [message id] property.
      String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
      if(messageID!=null) setMessageID(builder.newURI(messageID));

      // Read wsa:RelatesTo
      // This OPTIONAL attribute conveys the relationship type as an IRI.
      // When absent, the implied value of this attribute is "http://www.w3.org/2005/08/addressing/reply".
      Iterator itRelatesTo = DOMUtils.getChildElements(soapHeader, ADDR.getRelatesToQName());
View Full Code Here


      // This OPTIONAL element provides the value for the [destination] property.
      // If this element is NOT present then the value of the [destination]
      // property is "http://www.w3.org/2005/08/addressing/anonymous".
      String to = getOptionalHeaderContent(soapHeader, ADDR.getToQName());     
      if(to!=null)
        setTo(builder.newURI(to));
   
      // Read wsa:From
      // This OPTIONAL element (of type wsa:EndpointReferenceType) provides the value for the [source endpoint] property.
      Element wsaFrom = DOMUtils.getFirstChildElement(soapHeader, ADDR.getFromQName());
      if (wsaFrom != null)
View Full Code Here

      // wsa:Action
      // This REQUIRED element of type xs:anyURI conveys the [action] property.
      // The [children] of this element convey the value of this property.
      String action = getRequiredHeaderContent(soapHeader, ADDR.getActionQName());
      setAction(builder.newURI(action));

      // Read wsa:MessageID
      // This OPTIONAL element (whose content is of type xs:anyURI) conveys the [message id] property.
      String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
      if(messageID!=null) setMessageID(builder.newURI(messageID));
View Full Code Here

      setAction(builder.newURI(action));

      // Read wsa:MessageID
      // This OPTIONAL element (whose content is of type xs:anyURI) conveys the [message id] property.
      String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
      if(messageID!=null) setMessageID(builder.newURI(messageID));

      // Read wsa:RelatesTo
      // This OPTIONAL attribute conveys the relationship type as an IRI.
      // When absent, the implied value of this attribute is "http://www.w3.org/2005/08/addressing/reply".
      Iterator itRelatesTo = DOMUtils.getChildElements(soapHeader, ADDR.getRelatesToQName());
View Full Code Here

      // This OPTIONAL element provides the value for the [destination] property.
      // If this element is NOT present then the value of the [destination]
      // property is "http://www.w3.org/2005/08/addressing/anonymous".
      String to = getOptionalHeaderContent(soapHeader, ADDR.getToQName());     
      if(to!=null)
        setTo(builder.newURI(to));
   
      // Read wsa:From
      // This OPTIONAL element (of type wsa:EndpointReferenceType) provides the value for the [source endpoint] property.
      Element wsaFrom = DOMUtils.getFirstChildElement(soapHeader, ADDR.getFromQName());
      if (wsaFrom != null)
View Full Code Here

      // wsa:Action
      // This REQUIRED element of type xs:anyURI conveys the [action] property.
      // The [children] of this element convey the value of this property.
      String action = getRequiredHeaderContent(soapHeader, ADDR.getActionQName());
      setAction(builder.newURI(action));

      // Read wsa:MessageID
      // This OPTIONAL element (whose content is of type xs:anyURI) conveys the [message id] property.
      String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
      if(messageID!=null) setMessageID(builder.newURI(messageID));
View Full Code Here

      setAction(builder.newURI(action));

      // Read wsa:MessageID
      // This OPTIONAL element (whose content is of type xs:anyURI) conveys the [message id] property.
      String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
      if(messageID!=null) setMessageID(builder.newURI(messageID));

      // Read wsa:RelatesTo
      // This OPTIONAL attribute conveys the relationship type as an IRI.
      // When absent, the implied value of this attribute is "http://www.w3.org/2005/08/addressing/reply".
      Iterator itRelatesTo = DOMUtils.getChildElements(soapHeader, ADDR.getRelatesToQName());
View Full Code Here

/*  97 */       AddressingConstants ADDR = builder.newAddressingConstants();
/*  98 */       registerNamespaces(ADDR, soapHeader);
/*     */
/* 104 */       String to = getOptionalHeaderContent(soapHeader, ADDR.getToQName());
/* 105 */       if (to != null) {
/* 106 */         setTo(builder.newURI(to));
/*     */       }
/*     */
/* 110 */       Element wsaFrom = DOMUtils.getFirstChildElement(soapHeader, ADDR.getFromQName());
/* 111 */       if (wsaFrom != null)
/*     */       {
View Full Code Here

/* 134 */         EndpointReferenceImpl ref = new EndpointReferenceImpl(wsaFaultTo);
/* 135 */         setFaultTo(ref);
/*     */       }
/*     */
/* 141 */       String action = getRequiredHeaderContent(soapHeader, ADDR.getActionQName());
/* 142 */       setAction(builder.newURI(action));
/*     */
/* 146 */       String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
/* 147 */       if (messageID != null) setMessageID(builder.newURI(messageID));
/*     */
/* 152 */       Iterator itRelatesTo = DOMUtils.getChildElements(soapHeader, ADDR.getRelatesToQName());
View Full Code Here

/*     */
/* 141 */       String action = getRequiredHeaderContent(soapHeader, ADDR.getActionQName());
/* 142 */       setAction(builder.newURI(action));
/*     */
/* 146 */       String messageID = getOptionalHeaderContent(soapHeader, ADDR.getMessageIDQName());
/* 147 */       if (messageID != null) setMessageID(builder.newURI(messageID));
/*     */
/* 152 */       Iterator itRelatesTo = DOMUtils.getChildElements(soapHeader, ADDR.getRelatesToQName());
/* 153 */       List relList = new ArrayList();
/* 154 */       while (itRelatesTo.hasNext())
/*     */       {
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.