Java EE 5 SDK

com.sun.appserv.management.ext.wsmgmt
Interface MessageTrace

All Superinterfaces:
MapCapable
All Known Implementing Classes:
MessageTraceImpl

public interface MessageTrace
extends MapCapable

Provides details of a SOAP invocation.

Since:
AppServer 9.0

Field Summary
static String CLASS_NAME
          This interface's class name
 
Fields inherited from interface com.sun.appserv.management.base.MapCapable
MAP_CAPABLE_CLASS_NAME_KEY
 
Method Summary
 String getApplicationID()
          Returns the name of the application.
 String getClientHost()
          Returns the IP address or host name of the client machine.
 String getEndpointName()
          Returns the name of the webservice endpoint.
 String getFaultActor()
          Returns the fault actor.
 String getFaultCode()
          Returns the fault code.
 String getFaultString()
          Returns the fault string.
 String getHTTPRequestHeaders()
          Returns the comma separated list of HTTP request header names and its values.
 String getHTTPResponseHeaders()
          Returns the comma separated list of HTTP response header names and its values.
 String getMessageID()
          Returns the message id.
 String getPrincipalName()
          Returns the caller principal name.
 String getRequestContent()
          Returns the SOAP request content.
 int getRequestSize()
          Returns the total size in bytes of the request content.
 String getResponseContent()
          Returns the SOAP response content.
 int getResponseSize()
          Returns the total size in bytes of the response content.
 long getResponseTime()
          Returns the response time in milli seconds for this web service operation.
 long getTimestamp()
          Returns the time stamp when the SOAP message was received.
 String getTransportType()
          Returns the transport type.
 boolean isCallFlowEnabled()
          Returns if during this web service invocation call flow was enabled or not
 
Methods inherited from interface com.sun.appserv.management.base.MapCapable
asMap, getMapClassName
 

Field Detail

CLASS_NAME

static final String CLASS_NAME
This interface's class name

See Also:
Constant Field Values
Method Detail

getRequestSize

int getRequestSize()
Returns the total size in bytes of the request content. This is SOAP content size including body and headers.

Returns:
SOAP request content size in bytes

getResponseSize

int getResponseSize()
Returns the total size in bytes of the response content. This is SOAP content size including body and headers.

Returns:
SOAP response content size in bytes

getRequestContent

String getRequestContent()
Returns the SOAP request content. This contains SOAP body and headers.

Returns:
SOAP request content

getResponseContent

String getResponseContent()
Returns the SOAP response content. This contains SOAP body and headers.

Returns:
SOAP response content

getTransportType

String getTransportType()
Returns the transport type. Known types are "HTTP", "JMS" and "SNMP".

Returns:
transport type

getHTTPRequestHeaders

String getHTTPRequestHeaders()
Returns the comma separated list of HTTP request header names and its values. Null if transport type is not HTTP.

Returns:
HTTP request headers

getHTTPResponseHeaders

String getHTTPResponseHeaders()
Returns the comma separated list of HTTP response header names and its values. Null if transport type is not HTTP.

Returns:
HTTP response headers

getClientHost

String getClientHost()
Returns the IP address or host name of the client machine.

Returns:
IP address or host name of client

getPrincipalName

String getPrincipalName()
Returns the caller principal name.

Returns:
caller principal name

getResponseTime

long getResponseTime()
Returns the response time in milli seconds for this web service operation.

Returns:
reponse time in milli seconds

getFaultCode

String getFaultCode()
Returns the fault code.

Returns:
fault code for this web service or null

getFaultString

String getFaultString()
Returns the fault string.

Returns:
fault string for this web service or null

getFaultActor

String getFaultActor()
Returns the fault actor.

Returns:
fault actor for this web service

getMessageID

String getMessageID()
Returns the message id.

Returns:
message id

getApplicationID

String getApplicationID()
Returns the name of the application.

Returns:
application name

getEndpointName

String getEndpointName()
Returns the name of the webservice endpoint.

Returns:
name of the webservice endpoint

getTimestamp

long getTimestamp()
Returns the time stamp when the SOAP message was received.

Returns:
the time stamp when the SOAP message was received

isCallFlowEnabled

boolean isCallFlowEnabled()
Returns if during this web service invocation call flow was enabled or not

Returns:
true, if during this web service invocation call flow was enabled otherwise flase.

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.