FileDocCategorySizeDatePackage
SOAPMessageContext_1_0.javaAPI DocGlassfish v2 API4331Fri May 04 22:24:40 BST 2007com.sun.enterprise.admin.wsmgmt

SOAPMessageContext_1_0

public class SOAPMessageContext_1_0 extends Object implements SOAPMessageContext
SOAP Message Context. This encapsulates the required data for web services management either from JAXWS 1.0 or 2.0 MessageContext.

Fields Summary
private com.sun.xml.rpc.spi.runtime.SOAPMessageContext
_smc
Constructors Summary
public SOAPMessageContext_1_0(com.sun.xml.rpc.spi.runtime.SOAPMessageContext smc)
Constructed from JAXWS 1.0 MessageContext

param
cause the cause of this error

        if ( smc == null) {
            throw new IllegalArgumentException();
        }
        _smc = smc;
    
Methods Summary
public java.lang.StringgetHTTPRequestHeaders()
Gets the HTTP Request headers in the message.

return
the HTTP Request headers in the message.

        return null;
    
public java.lang.StringgetHTTPResponseHeaders()
Gets the HTTP Response headers in the message.

return
the HTTP Response headers in the message.

        return null;
    
public javax.xml.soap.SOAPMessagegetMessage()
Gets the SOAPMessage for this web service invocation.

return
SOAPMessage for this web service invocation

        return _smc.getMessage();
    
public java.lang.ObjectgetProperty(java.lang.String name)
Gets the PropertyNames for this web service invocation.

return
PropertyNames for this web service invocation

        return _smc.getProperty(name);
    
public java.util.IteratorgetPropertyNames()
Gets the PropertyNames for this web service invocation.

return
PropertyNames for this web service invocation

        return _smc.getPropertyNames();
    
public voidsetMessage(javax.xml.soap.SOAPMessage msg)
Sets the SOAPMessage in the message context.

param
msg the SOAPMessage to be set in the message context

        _smc.setMessage(msg);
    
public voidsetMessageContext(com.sun.xml.rpc.spi.runtime.SOAPMessageContext smc)
Sets the message context.

param
smc the new message context

        if ( smc == null) {
            throw new IllegalArgumentException();
        }
        _smc = smc;