Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


oracle.calendar.soap.client
Class CalendaringResponse

java.lang.Object
  extended byoracle.calendar.soap.client.CalendaringResponse


public class CalendaringResponse
extends java.lang.Object

This class is instantiated after every SOAP command (assuming there was no exception) to store all the information related to the processing of the SOAP request. Additionally, if the option for the capture of the send/receive buffer is set prior to execution the SOAP command, this class will store the additional information.


Field Summary
java.lang.String m_receiveBuffer
Character buffer with a copy of the XML SOAP packet received from the server
java.lang.String m_sendBuffer
Character buffer with a copy of the XML SOAP packet sent to the server.

Constructor Summary
CalendaringResponse()
Default constructor for the class; not used.
CalendaringResponse(java.util.Vector in_headerEntries, java.util.Vector in_bodyEntries, java.lang.String in_sendBuffer, java.lang.String in_receiveBuffer, long in_processingTime, java.util.Hashtable in_HTTPheader)
The main constructor of the CalendarResponse.

Method Summary
java.util.Vector getBodyEntries()
Returns the XML elements of the SOAP response.
CalendarReply getCalendarReply()
Returns a CalendarReply object generated from the SOAP body.
java.util.Vector getHeaderEntries()
Returns the XML elements of the response SOAP header.
long getProcessingTime()
Returns the processing time (in milliseconds) required to complete the round trip transaction to and from the Web services host.
java.lang.String getReceiveBuffer()
Returns the SOAP receive buffer.
java.lang.String getSendBuffer()
Returns the SOAP send buffer.
long getWSProcessingTime()
Returns the processing time (in milliseconds) required by the Calendar Web services back end (OCAS) to complete the request sent.

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

Field Detail

m_sendBuffer

public java.lang.String m_sendBuffer
Character buffer with a copy of the XML SOAP packet sent to the server.

m_receiveBuffer

public java.lang.String m_receiveBuffer
Character buffer with a copy of the XML SOAP packet received from the server

Constructor Detail

CalendaringResponse

public CalendaringResponse()
Default constructor for the class; not used. version 2002-12-16 fix008343

CalendaringResponse

public CalendaringResponse(java.util.Vector in_headerEntries,
                           java.util.Vector in_bodyEntries,
                           java.lang.String in_sendBuffer,
                           java.lang.String in_receiveBuffer,
                           long in_processingTime,
                           java.util.Hashtable in_HTTPheader)
The main constructor of the CalendarResponse. version 2004-07-22 fix010641
Parameters:
in_headerEntries - Vector of SOAP headers from SOAP response
in_bodyEntries - Vector of XML elements that make up SOAP response
in_sendBuffer - character buffer with copy of XML SOAP packet sent to server
in_receiveBuffer - character buffer with copy of XML SOAP packet received from server
in_processingTime - processing time for full SOAP transaction
in_HTTPheader - Hashtable of HTTP headers from HTTP response

Method Detail

getBodyEntries

public java.util.Vector getBodyEntries()
Returns the XML elements of the SOAP response. These elements consist of all the child elements in the SOAP <body>. version 2002-12-16 fix008343
Returns:
Vector - Vector of XML elements

getHeaderEntries

public java.util.Vector getHeaderEntries()
Returns the XML elements of the response SOAP header. These elements consist of all the child elements in the SOAP <header>.
Returns:
Vector - Vector of XML elements version 2002-12-16 fix008343

getSendBuffer

public java.lang.String getSendBuffer()
Returns the SOAP send buffer. This is the generated HTTP content that was sent to the Web services server. This is only available if setWantIOBuffers() in the Calendarlet class was set to true. version 2002-12-16 fix008343
Returns:
String - SOAP send buffer
See Also:
Calendarlet

getReceiveBuffer

public java.lang.String getReceiveBuffer()
Returns the SOAP receive buffer. This is the generated HTTP content that was received from the Web services server. This is only available if setWantIOBuffers() in the Calendarlet class was set to true. version 2002-12-16 fix008343
Returns:
String - SOAP receive bugger
See Also:
Calendarlet

getProcessingTime

public long getProcessingTime()
Returns the processing time (in milliseconds) required to complete the round trip transaction to and from the Web services host. version 2002-12-16 fix008343
Returns:
long - processing time (milliseconds)

getWSProcessingTime

public long getWSProcessingTime()
Returns the processing time (in milliseconds) required by the Calendar Web services back end (OCAS) to complete the request sent. version 2004-07-22 fix010641
Returns:
long - Web services processing time (milliseconds)

getCalendarReply

public CalendarReply getCalendarReply()
Returns a CalendarReply object generated from the SOAP body. Each time this method is called, a new CalendarReply will be generated. version 2003-09-10 fix009594
Returns:
CalendarReply
See Also:
Reply

Oracle® Calendar Web Services Java API Reference
10g Release 1 (10.1.1)

B14475-01


Copyright © 1998, 2005, Oracle. All rights reserved.