BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.webservice.context
Interface WebServiceHeader


Deprecated. please migrate to jws for webservices

public interface WebServiceHeader

Object that groups the implicit SOAP headers associated with the current invoke of a Web service operation. "Implicit" refers to any SOAP headers that are not part of the WSDL that describes the Web service.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 void clear()
          Deprecated. Removes all implicit SOAP headers from the WebServiceHeader object.
 Object get(QName name)
          Deprecated. Returns the value of the specified implicit SOAP header.
 Iterator names()
          Deprecated. Returns all the implicit SOAP headers from the WebServiceHeader object.
 void put(QName name, Object value)
          Deprecated. Adds a new implicit SOAP header to the WebServiceHeader object.
 Object remove(QName name)
          Deprecated. Removes a specific implicit SOAP header.
 

Method Detail

clear

public void clear()
Deprecated. 
Removes all implicit SOAP headers from the WebServiceHeader object.


get

public Object get(QName name)
Deprecated. 
Returns the value of the specified implicit SOAP header.

Parameters:
name - name of the header
Returns:
value of the header

names

public Iterator names()
Deprecated. 
Returns all the implicit SOAP headers from the WebServiceHeader object.

Returns:
iterator containing name of the headers

put

public void put(QName name,
                Object value)
Deprecated. 
Adds a new implicit SOAP header to the WebServiceHeader object.

Parameters:
name - name of the header
value - value of the header. If the value is a complex type, then the serialization class that converts between the XML and Java representation must be registered in the type mapping.

remove

public Object remove(QName name)
Deprecated. 
Removes a specific implicit SOAP header.

Parameters:
name - name of the header to be removed
Returns:
the value of the header removed

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.