Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.addressing
Class AddressingMessage

java.lang.Object
  extended by oracle.webservices.addressing.AddressingMessage

Direct Known Subclasses:
EnumerationMessage, TransferMessage

Deprecated.

@Deprecated
public class AddressingMessage
extends Object

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

INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE

public static final String INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE
Deprecated. 
See Also:
Constant Field Values

MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE

public static final String MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE
Deprecated. 
See Also:
Constant Field Values

DESTINATION_UNREACHABLE_SUBCODE

public static final String DESTINATION_UNREACHABLE_SUBCODE
Deprecated. 
See Also:
Constant Field Values

ACTION_NOT_SUPPORTED_SUBCODE

public static final String ACTION_NOT_SUPPORTED_SUBCODE
Deprecated. 
See Also:
Constant Field Values

ENDPOINT_UNAVAILABLE_SUBCODE

public static final String ENDPOINT_UNAVAILABLE_SUBCODE
Deprecated. 
See Also:
Constant Field Values

Constructor Detail

AddressingMessage

public AddressingMessage()
                  throws SOAPException
Deprecated. 
Construct a new message with the default "http://www.w3.org/2005/08/addressing" namespace. The soap version is decided by the static variable soap12.
Throws:
SOAPException

AddressingMessage

public AddressingMessage(SOAPMessage msg)
                  throws SOAPException
Deprecated. 
Throws:
SOAPException

Method Detail

setSOAPVersion

public static void setSOAPVersion(boolean usingSOAP12)
Deprecated. 
Select the version of SOAP to create message
Parameters:
usingSOAP12 -

getAddressingNamespace

public String getAddressingNamespace()
Deprecated. 

getSOAPMessage

public SOAPMessage getSOAPMessage()
Deprecated. 

getFrom

public oracle.j2ee.ws.common.addressing.api.EndpointReference getFrom()
Deprecated. 

setFrom

public void setFrom(String from)
             throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

setFrom

public void setFrom(URI from)
Deprecated. 

getTo

public oracle.j2ee.ws.common.addressing.api.AttributedURI getTo()
Deprecated. 

setTo

public void setTo(String to)
           throws SOAPException,
                  URISyntaxException
Deprecated. 
Throws:
SOAPException
URISyntaxException

setTo

public void setTo(URI to)
           throws SOAPException,
                  URISyntaxException
Deprecated. 
Throws:
SOAPException
URISyntaxException

getReplyTo

public oracle.j2ee.ws.common.addressing.api.EndpointReference getReplyTo()
Deprecated. 

setReplyTo

public void setReplyTo(String replyTo)
                throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

setReplyTo

public void setReplyTo(URI replyTo)
Deprecated. 

getFaultTo

public oracle.j2ee.ws.common.addressing.api.EndpointReference getFaultTo()
Deprecated. 

setFaultTo

public void setFaultTo(String faultTo)
                throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

setFaultTo

public void setFaultTo(URI faultTo)
Deprecated. 

getAction

public oracle.j2ee.ws.common.addressing.api.AttributedURI getAction()
Deprecated. 

setAction

public void setAction(String action)
               throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

getMessageID

public oracle.j2ee.ws.common.addressing.api.AttributedURI getMessageID()
Deprecated. 

setMessageID

public void setMessageID(String messageId)
                  throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

getRelatesTo

public oracle.j2ee.ws.common.addressing.api.Relationship[] getRelatesTo()
Deprecated. 

addRelatesTo

public void addRelatesTo(String relatesTo)
                  throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

addRelatesTo

public void addRelatesTo(String relatesTo,
                         String relationshipType)
                  throws URISyntaxException
Deprecated. 
Throws:
URISyntaxException

addRelatesTo

public void addRelatesTo(URI relatesTo)
Deprecated. 

addRelatesTo

public void addRelatesTo(URI relatesTo,
                         String relationshipType)
Deprecated. 

send

public AddressingMessage send(Object endpoint)
                       throws SOAPException,
                              oracle.j2ee.ws.common.addressing.api.AddressingException
Deprecated. 
This method will send the message to the specified endpoint.
Parameters:
endpoint - - an Object that identifies where the message should be sent.
Returns:
AddressingMessage - the response to the message that was sent
Throws:
SOAPException
oracle.j2ee.ws.common.addressing.api.AddressingException

send

public AddressingMessage send(Object endpoint,
                              String username,
                              String password)
                       throws SOAPException,
                              oracle.j2ee.ws.common.addressing.api.AddressingException
Deprecated. 
This method will send the message to the specified endpoint, supplying HTTP Authentication username and password.
Parameters:
endpoint - - an Object that identifies where the message should be sent.
username - - HTTP Authentication username
password - - HTTP Authentication password
Returns:
AddressingMessage - the response to the message that was sent
Throws:
SOAPException
oracle.j2ee.ws.common.addressing.api.AddressingException

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.