Skip navigation links
oracle.webservices.enumeration
Class EnumerateResponseMessage
java.lang.Object
oracle.webservices.addressing.AddressingMessage
oracle.webservices.enumeration.EnumerationMessage
oracle.webservices.enumeration.EnumerateResponseMessage
-
public class EnumerateResponseMessage
- extends EnumerationMessage
This class helps to create/parse a SOAP envelope containing a WS-Enumeration EnumerateResponse message.
An example of how to use this class to understand an EnumerateResponse same as WS-Enumeration spec:
EnumerateResponseMessage response = (EnumerateResponseMessage)request.send(ENDPOINT);
System.out.println(response.getExpires());
EnumerationContextType context = response.getEnumerationContext();
List list = context.getContent();
System.out.println(list.get(0));
Methods inherited from class oracle.webservices.addressing.AddressingMessage |
addRelatesTo, addRelatesTo, addRelatesTo, addRelatesTo, getAction, getAddressingNamespace, getFaultTo, getFrom, getMessageID, getRelatesTo, getReplyTo, getSOAPMessage, getTo, send, send, setFaultTo, setFaultTo, setFrom, setFrom, setMessageID, setReplyTo, setReplyTo, setSOAPVersion, setTo, setTo |
ENUMERATE_RESPONSE_ACTION_URI
public static final String ENUMERATE_RESPONSE_ACTION_URI
-
- See Also:
- Constant Field Values
EnumerateResponseMessage
public EnumerateResponseMessage()
throws SOAPException,
URISyntaxException
- The constructor for creating an EnumerateResponseMessage
- Throws:
SOAPException
URISyntaxException
EnumerateResponseMessage
public EnumerateResponseMessage(String addressingNamespace)
throws SOAPException,
URISyntaxException
-
- Throws:
SOAPException
URISyntaxException
EnumerateResponseMessage
public EnumerateResponseMessage(String addressingNamespace,
boolean usingSOAP12)
throws SOAPException,
URISyntaxException
-
- Throws:
SOAPException
URISyntaxException
EnumerateResponseMessage
public EnumerateResponseMessage(SOAPMessage msg)
throws SOAPException
- The constructor for parsing an EnumerateResponseMessage
- Parameters:
msg
-
- Throws:
SOAPException
setAction
public final void setAction(String action)
throws URISyntaxException
- Overwrite setAction() so that actoin is always http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse
-
- Overrides:
setAction
in class AddressingMessage
-
- Throws:
URISyntaxException
getEnumerateResponse
public EnumerateResponse getEnumerateResponse()
throws SOAPException
-
- Returns:
- Returns the EnumerateResponse.
- Throws:
SOAPException
setEnumerateResponse
public void setEnumerateResponse(EnumerateResponse enumerateResponse)
throws SOAPException
- Set the EnumerateResponse.
-
- Parameters:
enumerateResponse
-
- Throws:
SOAPException
Skip navigation links