|
Java API Reference for Oracle Infrastructure Web Services 11 Release 1 (11.1.1) E10654-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webservices.addressing.AddressingMessage
Deprecated.
@Deprecated
public class AddressingMessage
This class helps to create/parse WS-Addressing messages. It provides getSOAPMeesage() to provide the SOAP message, as well as the methods to get/set WS-Addressing properties. It also provides a send() method to send itself to the specified endpoint.
By default, messages created using this class are SOAP 1.1 messages. Using AddressingMessage.setSOAPVersion(true) can switch to SOAP 1.2.
Field Summary | |
---|---|
static String |
ACTION_NOT_SUPPORTED_SUBCODE Deprecated. |
static String |
DESTINATION_UNREACHABLE_SUBCODE Deprecated. |
static String |
ENDPOINT_UNAVAILABLE_SUBCODE Deprecated. |
static String |
INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE Deprecated. |
static String |
MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE Deprecated. |
Constructor Summary | |
---|---|
AddressingMessage() Deprecated. Construct a new message with the default "http://www.w3.org/2005/08/addressing" namespace. |
|
AddressingMessage(SOAPMessage msg) Deprecated. |
Method Summary | |
---|---|
void |
addRelatesTo(String relatesTo) Deprecated. |
void |
addRelatesTo(String relatesTo, String relationshipType) Deprecated. |
void |
addRelatesTo(URI relatesTo) Deprecated. |
void |
addRelatesTo(URI relatesTo, String relationshipType) Deprecated. |
oracle.j2ee.ws.common.addressing.api.AttributedURI |
getAction() Deprecated. |
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. |
SOAPMessage |
getSOAPMessage() Deprecated. |
oracle.j2ee.ws.common.addressing.api.AttributedURI |
getTo() Deprecated. |
AddressingMessage |
send(Object endpoint) Deprecated. This method will send the message to the specified endpoint. |
AddressingMessage |
send(Object endpoint, String username, String password) Deprecated. This method will send the message to the specified endpoint, supplying HTTP Authentication username and password. |
void |
setAction(String action) Deprecated. |
void |
setFaultTo(String faultTo) Deprecated. |
void |
setFaultTo(URI faultTo) Deprecated. |
void |
setFrom(String from) Deprecated. |
void |
setFrom(URI from) Deprecated. |
void |
setMessageID(String messageId) Deprecated. |
void |
setReplyTo(String replyTo) Deprecated. |
void |
setReplyTo(URI replyTo) Deprecated. |
static void |
setSOAPVersion(boolean usingSOAP12) Deprecated. Select the version of SOAP to create message |
void |
setTo(String to) Deprecated. |
void |
setTo(URI to) Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE
public static final String MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE
public static final String DESTINATION_UNREACHABLE_SUBCODE
public static final String ACTION_NOT_SUPPORTED_SUBCODE
public static final String ENDPOINT_UNAVAILABLE_SUBCODE
Constructor Detail |
---|
public AddressingMessage() throws SOAPException
SOAPException
public AddressingMessage(SOAPMessage msg) throws SOAPException
SOAPException
Method Detail |
---|
public static void setSOAPVersion(boolean usingSOAP12)
usingSOAP12
-public String getAddressingNamespace()
public SOAPMessage getSOAPMessage()
public oracle.j2ee.ws.common.addressing.api.EndpointReference getFrom()
public void setFrom(String from) throws URISyntaxException
URISyntaxException
public void setFrom(URI from)
public oracle.j2ee.ws.common.addressing.api.AttributedURI getTo()
public void setTo(String to) throws SOAPException, URISyntaxException
SOAPException
URISyntaxException
public void setTo(URI to) throws SOAPException, URISyntaxException
SOAPException
URISyntaxException
public oracle.j2ee.ws.common.addressing.api.EndpointReference getReplyTo()
public void setReplyTo(String replyTo) throws URISyntaxException
URISyntaxException
public void setReplyTo(URI replyTo)
public oracle.j2ee.ws.common.addressing.api.EndpointReference getFaultTo()
public void setFaultTo(String faultTo) throws URISyntaxException
URISyntaxException
public void setFaultTo(URI faultTo)
public oracle.j2ee.ws.common.addressing.api.AttributedURI getAction()
public void setAction(String action) throws URISyntaxException
URISyntaxException
public oracle.j2ee.ws.common.addressing.api.AttributedURI getMessageID()
public void setMessageID(String messageId) throws URISyntaxException
URISyntaxException
public oracle.j2ee.ws.common.addressing.api.Relationship[] getRelatesTo()
public void addRelatesTo(String relatesTo) throws URISyntaxException
URISyntaxException
public void addRelatesTo(String relatesTo, String relationshipType) throws URISyntaxException
URISyntaxException
public void addRelatesTo(URI relatesTo)
public void addRelatesTo(URI relatesTo, String relationshipType)
public AddressingMessage send(Object endpoint) throws SOAPException, oracle.j2ee.ws.common.addressing.api.AddressingException
endpoint
- - an Object that identifies where the message should be sent.SOAPException
oracle.j2ee.ws.common.addressing.api.AddressingException
public AddressingMessage send(Object endpoint, String username, String password) throws 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 passwordSOAPException
oracle.j2ee.ws.common.addressing.api.AddressingException
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |