Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.common.sdk
Class SOAPBindingMessageContext

java.lang.Object
  extended by oracle.wsm.common.sdk.MessageContext
      extended by oracle.wsm.common.sdk.SOAPBindingMessageContext

All Implemented Interfaces:
Serializable, Cloneable, IContext, IMessageContext, ISOAPBindingMessageContext

public class SOAPBindingMessageContext
extends MessageContext
implements ISOAPBindingMessageContext
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wsm.common.sdk.IMessageContext
IMessageContext.STAGE, IMessageContext.TYPE

 

Field Summary

 

Fields inherited from interface oracle.wsm.common.sdk.IMessageContext
AGENT_CONTEXT, LEGACY_POLICY_OPERATION_MAP, LEGACY_POLICY_SET, LEGACYPOLICY_ENABLED, OPERATION_ID, OPERATION_NAME, POLICY_SET, REMOTE_IP, REQUEST_PROCESSED_HEADERS, RESPONSE_PROCESSED_HEADERS, SECURITY_SUBJECT

 

Constructor Summary
SOAPBindingMessageContext()
           

 

Method Summary
 SOAPBindingMessageContext clone()
           
 void cloneFrom(SOAPBindingMessageContext origContext)
           
 javax.xml.soap.SOAPMessage cloneSOAPMessage(javax.xml.soap.SOAPMessage soapMessage)
           
 Map<String,String> getAllTransportHeaders()
          For Interceptor use, outbound processing only
 javax.xml.soap.SOAPMessage getFault()
           
 javax.xml.soap.SOAPMessage getRequestMessage()
           
 javax.xml.soap.SOAPMessage getResponseMessage()
           
 String getTransportHeader(String headerName)
          Server agent uses it for inbound processing
 Object getTransportObject(String objName)
          For inbound message processing, as server agent
 void setFault(javax.xml.soap.SOAPMessage faultMessage)
           
 void setRequestMessage(javax.xml.soap.SOAPMessage requestMessage)
           
 void setResponseMessage(javax.xml.soap.SOAPMessage responseMessage)
           
 void setTransportContext(ITransportContext transCtx)
          For Interceptor to call to set the appropriate transport context for both inbound and outbound
 void setTransportHeader(String headerName, String headerVal, String agentFunction)
          Client agent uses it for outbound message processing with processRequest Service agent uses it for inbound message processing with processResponse

 

Methods inherited from class oracle.wsm.common.sdk.MessageContext
cloneFrom, getAllProperties, getGUID, getInvocationStatus, getProperty, getRemoteAddr, getServiceID, getServiceURL, getStage, getStartTime, getType, setAllProperties, setProperty, setRemoteAddr, setServiceID, setServiceURL, setStage, setStartTime, setType

 

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

 

Methods inherited from interface oracle.wsm.common.sdk.IMessageContext
getGUID, getInvocationStatus, getRemoteAddr, getServiceID, getServiceURL, getStage, getStartTime, getType, setRemoteAddr, setServiceID, setServiceURL, setStage, setStartTime, setType

 

Methods inherited from interface oracle.wsm.common.sdk.IContext
getAllProperties, getProperty, setAllProperties, setProperty

 

Constructor Detail

SOAPBindingMessageContext

public SOAPBindingMessageContext()

Method Detail

setRequestMessage

public void setRequestMessage(javax.xml.soap.SOAPMessage requestMessage)
Specified by:
setRequestMessage in interface ISOAPBindingMessageContext

getRequestMessage

public javax.xml.soap.SOAPMessage getRequestMessage()
Specified by:
getRequestMessage in interface ISOAPBindingMessageContext

setResponseMessage

public void setResponseMessage(javax.xml.soap.SOAPMessage responseMessage)
Specified by:
setResponseMessage in interface ISOAPBindingMessageContext

getResponseMessage

public javax.xml.soap.SOAPMessage getResponseMessage()
Specified by:
getResponseMessage in interface ISOAPBindingMessageContext

setFault

public void setFault(javax.xml.soap.SOAPMessage faultMessage)
Specified by:
setFault in interface ISOAPBindingMessageContext

getFault

public javax.xml.soap.SOAPMessage getFault()
Specified by:
getFault in interface ISOAPBindingMessageContext

clone

public SOAPBindingMessageContext clone()
Overrides:
clone in class Object

cloneFrom

public void cloneFrom(SOAPBindingMessageContext origContext)
               throws WSMException
Throws:
WSMException

cloneSOAPMessage

public javax.xml.soap.SOAPMessage cloneSOAPMessage(javax.xml.soap.SOAPMessage soapMessage)
                                            throws javax.xml.soap.SOAPException,
                                                   IOException
Throws:
javax.xml.soap.SOAPException
IOException

setTransportContext

public void setTransportContext(ITransportContext transCtx)
For Interceptor to call to set the appropriate transport context for both inbound and outbound
Specified by:
setTransportContext in interface ISOAPBindingMessageContext
Parameters:
transCtx -

getTransportHeader

public String getTransportHeader(String headerName)
                          throws WSMException
Server agent uses it for inbound processing
Specified by:
getTransportHeader in interface ISOAPBindingMessageContext
Throws:
WSMException

getAllTransportHeaders

public Map<String,String> getAllTransportHeaders()
                                          throws WSMException
For Interceptor use, outbound processing only
Specified by:
getAllTransportHeaders in interface ISOAPBindingMessageContext
Throws:
WSMException

setTransportHeader

public void setTransportHeader(String headerName,
                               String headerVal,
                               String agentFunction)
                        throws WSMException
Client agent uses it for outbound message processing with processRequest Service agent uses it for inbound message processing with processResponse
Specified by:
setTransportHeader in interface ISOAPBindingMessageContext
Throws:
WSMException

getTransportObject

public Object getTransportObject(String objName)
                          throws WSMException
For inbound message processing, as server agent
Specified by:
getTransportObject in interface ISOAPBindingMessageContext
Parameters:
String - objName -- the transport-specific object name, can be either http servlet request, response or jms message.
Throws:
WSMException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.