cgl.narada.wsinfra.util
Class SoapHeaderProcessor
java.lang.Object
cgl.narada.wsinfra.util.SoapHeaderProcessor
- public class SoapHeaderProcessor
- extends Object
This class performs utility functions pertaining to the procssing of
SOAP headers
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapHeaderProcessor
public SoapHeaderProcessor()
hasHeaderElement
public static boolean hasHeaderElement(SOAPEnvelope soapEnvelope,
String localName,
String prefix,
String prefixUri)
throws Exception
-
("xmlns" stands for "XML namespace".)
prefix = wombat, localName = getLastTradePrice,
prefixURI= http://www.wombat.org/trader
- Throws:
Exception
getHeaderElement
public static SOAPElement getHeaderElement(SOAPEnvelope soapEnvelope,
String localName,
String prefix,
String prefixUri)
throws Exception
- Retrieves the SOAPElement corresponding to the localName, prefix and
prefixUri that have been specified
- Throws:
Exception