@Deprecated
public class AddressingMessage
extends java.lang.Object
By default, messages created using this class are SOAP 1.1 messages. Using AddressingMessage.setSOAPVersion(true) can switch to SOAP 1.2.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_NOT_SUPPORTED_SUBCODE
Deprecated.
|
static java.lang.String |
DESTINATION_UNREACHABLE_SUBCODE
Deprecated.
|
static java.lang.String |
ENDPOINT_UNAVAILABLE_SUBCODE
Deprecated.
|
static java.lang.String |
INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE
Deprecated.
|
static java.lang.String |
MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE
Deprecated.
|
Constructor and Description |
---|
AddressingMessage()
Deprecated.
Construct a new message with the default "http://www.w3.org/2005/08/addressing" namespace.
|
AddressingMessage(javax.xml.soap.SOAPMessage msg)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addRelatesTo(java.lang.String relatesTo)
Deprecated.
|
void |
addRelatesTo(java.lang.String relatesTo, java.lang.String relationshipType)
Deprecated.
|
void |
addRelatesTo(java.net.URI relatesTo)
Deprecated.
|
void |
addRelatesTo(java.net.URI relatesTo, java.lang.String relationshipType)
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.AttributedURI |
getAction()
Deprecated.
|
java.lang.String |
getAddressingNamespace()
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.EndpointReference |
getFaultTo()
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.EndpointReference |
getFrom()
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.AttributedURI |
getMessageID()
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.Relationship[] |
getRelatesTo()
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.EndpointReference |
getReplyTo()
Deprecated.
|
javax.xml.soap.SOAPMessage |
getSOAPMessage()
Deprecated.
|
oracle.j2ee.ws.common.addressing.api.AttributedURI |
getTo()
Deprecated.
|
AddressingMessage |
send(java.lang.Object endpoint)
Deprecated.
This method will send the message to the specified endpoint.
|
AddressingMessage |
send(java.lang.Object endpoint, java.lang.String username, java.lang.String password)
Deprecated.
This method will send the message to the specified endpoint, supplying HTTP Authentication username and password.
|
void |
setAction(java.lang.String action)
Deprecated.
|
void |
setFaultTo(java.lang.String faultTo)
Deprecated.
|
void |
setFaultTo(java.net.URI faultTo)
Deprecated.
|
void |
setFrom(java.lang.String from)
Deprecated.
|
void |
setFrom(java.net.URI from)
Deprecated.
|
void |
setMessageID(java.lang.String messageId)
Deprecated.
|
void |
setReplyTo(java.lang.String replyTo)
Deprecated.
|
void |
setReplyTo(java.net.URI replyTo)
Deprecated.
|
static void |
setSOAPVersion(boolean usingSOAP12)
Deprecated.
Select the version of SOAP to create message
|
void |
setTo(java.lang.String to)
Deprecated.
|
void |
setTo(java.net.URI to)
Deprecated.
|
public static final java.lang.String INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE
public static final java.lang.String MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE
public static final java.lang.String DESTINATION_UNREACHABLE_SUBCODE
public static final java.lang.String ACTION_NOT_SUPPORTED_SUBCODE
public static final java.lang.String ENDPOINT_UNAVAILABLE_SUBCODE
public AddressingMessage() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public AddressingMessage(javax.xml.soap.SOAPMessage msg) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public static void setSOAPVersion(boolean usingSOAP12)
usingSOAP12
-public java.lang.String getAddressingNamespace()
public javax.xml.soap.SOAPMessage getSOAPMessage()
public oracle.j2ee.ws.common.addressing.api.EndpointReference getFrom()
public void setFrom(java.lang.String from) throws java.net.URISyntaxException
java.net.URISyntaxException
public void setFrom(java.net.URI from)
public oracle.j2ee.ws.common.addressing.api.AttributedURI getTo()
public void setTo(java.lang.String to) throws javax.xml.soap.SOAPException, java.net.URISyntaxException
javax.xml.soap.SOAPException
java.net.URISyntaxException
public void setTo(java.net.URI to) throws javax.xml.soap.SOAPException, java.net.URISyntaxException
javax.xml.soap.SOAPException
java.net.URISyntaxException
public oracle.j2ee.ws.common.addressing.api.EndpointReference getReplyTo()
public void setReplyTo(java.lang.String replyTo) throws java.net.URISyntaxException
java.net.URISyntaxException
public void setReplyTo(java.net.URI replyTo)
public oracle.j2ee.ws.common.addressing.api.EndpointReference getFaultTo()
public void setFaultTo(java.lang.String faultTo) throws java.net.URISyntaxException
java.net.URISyntaxException
public void setFaultTo(java.net.URI faultTo)
public oracle.j2ee.ws.common.addressing.api.AttributedURI getAction()
public void setAction(java.lang.String action) throws java.net.URISyntaxException
java.net.URISyntaxException
public oracle.j2ee.ws.common.addressing.api.AttributedURI getMessageID()
public void setMessageID(java.lang.String messageId) throws java.net.URISyntaxException
java.net.URISyntaxException
public oracle.j2ee.ws.common.addressing.api.Relationship[] getRelatesTo()
public void addRelatesTo(java.lang.String relatesTo) throws java.net.URISyntaxException
java.net.URISyntaxException
public void addRelatesTo(java.lang.String relatesTo, java.lang.String relationshipType) throws java.net.URISyntaxException
java.net.URISyntaxException
public void addRelatesTo(java.net.URI relatesTo)
public void addRelatesTo(java.net.URI relatesTo, java.lang.String relationshipType)
public AddressingMessage send(java.lang.Object endpoint) throws javax.xml.soap.SOAPException, oracle.j2ee.ws.common.addressing.api.AddressingException
endpoint
- - an Object that identifies where the message should be sent.javax.xml.soap.SOAPException
oracle.j2ee.ws.common.addressing.api.AddressingException
public AddressingMessage send(java.lang.Object endpoint, java.lang.String username, java.lang.String password) throws javax.xml.soap.SOAPException, oracle.j2ee.ws.common.addressing.api.AddressingException
endpoint
- - an Object that identifies where the message should be sent.username
- - HTTP Authentication usernamepassword
- - HTTP Authentication passwordjavax.xml.soap.SOAPException
oracle.j2ee.ws.common.addressing.api.AddressingException