Skip navigation links

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

E10654-02


oracle.webservices.transfer
Class TransferCreateResponse

java.lang.Object
  extended by oracle.webservices.addressing.AddressingMessage
      extended by oracle.webservices.transfer.TransferMessage
          extended by oracle.webservices.transfer.TransferCreateResponse


public class TransferCreateResponse
extends TransferMessage

This class is to help create/parse a SOAP envelope containing a CreateResponse.

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


Field Summary
static String CREATE_RESPONSE_ACTION_URI
           

 

Fields inherited from class oracle.webservices.addressing.AddressingMessage
ACTION_NOT_SUPPORTED_SUBCODE, DESTINATION_UNREACHABLE_SUBCODE, ENDPOINT_UNAVAILABLE_SUBCODE, INVALID_MESSAGE_INFORMATION_HEADER_SUBCODE, MESSAGE_INFORMATION_HEADER_REQUIRED_SUBCODE

 

Constructor Summary
TransferCreateResponse()
          The constructor for creating a CreateResponse
TransferCreateResponse(SOAPMessage msg)
          The constructor for parsing a CreateResponse
TransferCreateResponse(String addressingNamespace)
           
TransferCreateResponse(String addressingNamespace, boolean usingSOAP12)
           

 

Method Summary
 void setAction(String action)
          Overwrite setAction() so that actoin is always CREATE_RESPONSE_ACTION_URI

 

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

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

CREATE_RESPONSE_ACTION_URI

public static final String CREATE_RESPONSE_ACTION_URI
See Also:
Constant Field Values

Constructor Detail

TransferCreateResponse

public TransferCreateResponse()
                       throws SOAPException,
                              URISyntaxException
The constructor for creating a CreateResponse
Throws:
SOAPException
URISyntaxException

TransferCreateResponse

public TransferCreateResponse(String addressingNamespace)
                       throws SOAPException,
                              URISyntaxException
Throws:
SOAPException
URISyntaxException

TransferCreateResponse

public TransferCreateResponse(String addressingNamespace,
                              boolean usingSOAP12)
                       throws SOAPException,
                              URISyntaxException
Throws:
SOAPException
URISyntaxException

TransferCreateResponse

public TransferCreateResponse(SOAPMessage msg)
                       throws SOAPException
The constructor for parsing a CreateResponse
Parameters:
msg -
Throws:
SOAPException

Method Detail

setAction

public final void setAction(String action)
                     throws URISyntaxException
Overwrite setAction() so that actoin is always CREATE_RESPONSE_ACTION_URI
Overrides:
setAction in class AddressingMessage
Throws:
URISyntaxException

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.