public class WebServicesUtil
extends java.lang.Object
| Constructor and Description |
|---|
WebServicesUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
convertToBytes(org.apache.axiom.om.OMElement element) |
static org.jdom2.Document |
convertToJDOM(org.apache.axiom.om.OMElement element)
Utility method to convert W3C DOM Document to JDOM Document
|
static org.apache.axiom.om.OMElement |
convertToOMElement(byte[] data)
Utility method to convert JDOM Document to W3C DOM Document
|
static org.apache.axiom.om.OMElement |
convertToOMElement(org.jdom2.Document doc)
Utility method to convert JDOM Document to W3C DOM Document
|
static org.apache.axiom.om.OMElement |
convertToOMElement(java.io.InputStream is)
Utility method to convert JDOM Document to W3C DOM Document
|
static java.lang.String |
getMEAWebAPPURL()
Get the MEA Web Application URL
|
static java.lang.String |
getResourceURL(java.lang.String contextURL,
java.lang.String resourceName)
Helper method to return the Resource URL given the context URL and the
resource name
|
static java.lang.String |
getSchema(java.lang.String resReq) |
protected static boolean |
isAppServerContainerDeployment() |
static boolean |
isDynamicWSDLAndSchema() |
protected static boolean |
isVerifyWebAppUrl() |
static void |
verifyWebAppURL()
Verify the MEA web app url.
|
protected static boolean isVerifyWebAppUrl()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionprotected static boolean isAppServerContainerDeployment()
throws MXApplicationException,
java.rmi.RemoteException
MXApplicationExceptionjava.rmi.RemoteExceptionpublic static boolean isDynamicWSDLAndSchema()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic static void verifyWebAppURL()
throws java.rmi.RemoteException,
MXException
MXExceptionjava.rmi.RemoteExceptionpublic static java.lang.String getSchema(java.lang.String resReq)
throws MXException,
java.rmi.RemoteException
resReq - the requested schema.resReqMXExceptionjava.rmi.RemoteExceptionpublic static java.lang.String getMEAWebAPPURL()
throws MXException
MXException - Maximo Exceptionpublic static java.lang.String getResourceURL(java.lang.String contextURL,
java.lang.String resourceName)
throws MXException
contextURL - the context URLresourceName - the resource nameMXException - Maximo Exceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(org.jdom2.Document doc)
throws MXException
doc - JDOM Documentorg.jdom2.JDOMException - JDOM ExceptionMXExceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(java.io.InputStream is)
throws MXException
is - the xml doc as a streamorg.jdom2.JDOMException - JDOM ExceptionMXExceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(byte[] data)
throws MXException
data - org.jdom2.JDOMException - JDOM ExceptionMXExceptionpublic static org.jdom2.Document convertToJDOM(org.apache.axiom.om.OMElement element)
throws MXException
element - xml documentorg.jdom2.JDOMException - JDOM ExceptionMXExceptionpublic static byte[] convertToBytes(org.apache.axiom.om.OMElement element)
throws MXException
MXException