|
Oracle Application Server Web Services SOAP API Reference 10g (9.0.4) B10397-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.soap.util.xml.XmlUtils
Constructor Summary | |
XmlUtils() |
Method Summary | |
static org.w3c.dom.Document |
createDocument() Create a Document |
static void |
dumpDOM(org.w3c.dom.Document doc, java.lang.StringBuffer buf) |
static java.lang.String |
extractMethodName(org.apache.soap.Envelope envelope) Get the method name from the envelope. |
static java.lang.String |
extractServiceId(org.apache.soap.Envelope envelope) Get the service id from the envelope. |
static org.w3c.dom.Document |
parseXml(java.io.InputStream is) Parse the contents of the XML InputStream and return the XML document. |
static org.w3c.dom.Document |
parseXml(java.io.Reader reader) Parse the given XML source and return the XML document. |
static org.w3c.dom.Document |
parseXml(java.lang.String filename) Parse the given XML file and return the XML document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlUtils()
Method Detail |
public static java.lang.String extractServiceId(org.apache.soap.Envelope envelope) throws org.apache.soap.SOAPException
org.apache.soap.SOAPException
- Unable to get service URI from envelope.public static java.lang.String extractMethodName(org.apache.soap.Envelope envelope) throws org.apache.soap.SOAPException
org.apache.soap.SOAPException
- Unable to get method name from envelope.public static void dumpDOM(org.w3c.dom.Document doc, java.lang.StringBuffer buf)
public static org.w3c.dom.Document parseXml(java.lang.String filename) throws org.apache.soap.SOAPException
filename
- The full path to the XML file.org.apache.soap.SOAPException
- File not found or parse error.public static org.w3c.dom.Document parseXml(java.io.Reader reader) throws org.apache.soap.SOAPException
reader
- Reader for XMLorg.apache.soap.SOAPException
- File not found or parse error.public static org.w3c.dom.Document parseXml(java.io.InputStream is) throws org.apache.soap.SOAPException
is
- input stream sourceorg.apache.soap.SOAPException
- if there are parse errors or IO errorspublic static org.w3c.dom.Document createDocument() throws org.apache.soap.SOAPException
org.apache.soap.SOAPException
- Cannot create document.
|
Oracle Application Server Web Services SOAP API Reference 10g (9.0.4) B10397-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |