public class TransferPutResponse extends TransferMessage
This Action element MUST contain the value http://schemas.xmlsoap.org/ws/2004/09/transfer/PutResponse. A service MUST return the current representation of the resource as the initial child of the s:Body element if the updated representation differs from the representation sent in the Put request message. All other children SHOULD be ignored. As an optimization and as a service to the requester, the s:Body element of the response message SHOULD be empty if the updated representation does not differ from the representation sent in the Put request message
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PUT_RESPONSE_ACTION_URI |
ACTION_NOT_SUPPORTED_SUBCODE, DESTINATION_UNREACHABLE_SUBCODE, ENDPOINT_UNAVAILABLE_SUBCODE, INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE, MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE
Constructor and Description |
---|
TransferPutResponse()
The constructor for creating a PutResponse
|
TransferPutResponse(javax.xml.soap.SOAPMessage msg)
The constructor for parsing a PutResponse
|
TransferPutResponse(java.lang.String addressingNamespace) |
TransferPutResponse(java.lang.String addressingNamespace, boolean usingSOAP12) |
Modifier and Type | Method and Description |
---|---|
void |
setAction(java.lang.String action)
Overwrite setAction() so that actoin is always PUT_RESPONSE_ACTION_URI
|
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
public static final java.lang.String PUT_RESPONSE_ACTION_URI
public TransferPutResponse() throws javax.xml.soap.SOAPException, java.net.URISyntaxException
javax.xml.soap.SOAPException
java.net.URISyntaxException
public TransferPutResponse(java.lang.String addressingNamespace) throws javax.xml.soap.SOAPException, java.net.URISyntaxException
javax.xml.soap.SOAPException
java.net.URISyntaxException
public TransferPutResponse(java.lang.String addressingNamespace, boolean usingSOAP12) throws javax.xml.soap.SOAPException, java.net.URISyntaxException
javax.xml.soap.SOAPException
java.net.URISyntaxException
public TransferPutResponse(javax.xml.soap.SOAPMessage msg) throws javax.xml.soap.SOAPException
msg
-javax.xml.soap.SOAPException
public final void setAction(java.lang.String action) throws java.net.URISyntaxException
setAction
in class AddressingMessage
java.net.URISyntaxException