public class TransferCreateResponse extends TransferMessage
This Action element MUST contain the value http://schemas.xmlsoap.org/ws/2004/09/transfer/CreateResponse. /s:Envelope/s:Body/wxf:ResourceCreated is required and MUST contain a resource reference for the newly created resource. This resource reference, represented as an endpoint reference as defined in WS-Addressing, MUST identify the resource for future Get, Put, and Delete operations. A service MUST return the current representation of the new resource as the second child of the s:Body element if the created representation differs from the representation sent in the Create request message. All other children with position() greater than 2 SHOULD be ignored. As an optimization and as a service to the requestor, the s:Body element of the response message SHOULD be empty, other than the ResourceCreated element, if the created representation does not differ from the representation sent in the Create request message
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CREATE_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 |
|---|
TransferCreateResponse()
The constructor for creating a CreateResponse
|
TransferCreateResponse(javax.xml.soap.SOAPMessage msg)
The constructor for parsing a CreateResponse
|
TransferCreateResponse(java.lang.String addressingNamespace) |
TransferCreateResponse(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 CREATE_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, setTopublic static final java.lang.String CREATE_RESPONSE_ACTION_URI
public TransferCreateResponse()
throws javax.xml.soap.SOAPException,
java.net.URISyntaxException
javax.xml.soap.SOAPExceptionjava.net.URISyntaxException
public TransferCreateResponse(java.lang.String addressingNamespace)
throws javax.xml.soap.SOAPException,
java.net.URISyntaxException
javax.xml.soap.SOAPExceptionjava.net.URISyntaxException
public TransferCreateResponse(java.lang.String addressingNamespace,
boolean usingSOAP12)
throws javax.xml.soap.SOAPException,
java.net.URISyntaxException
javax.xml.soap.SOAPExceptionjava.net.URISyntaxException
public TransferCreateResponse(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 AddressingMessagejava.net.URISyntaxException