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.jdom.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.jdom.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) | 
| static java.lang.String | getWsdl(java.lang.String fileName) | 
| static boolean | isDynamicWSDLAndSchema() | 
| static void | verifyWebAppURL()Verify the MEA web app url. | 
public 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 getWsdl(java.lang.String fileName)
                                throws MXException,
                                       java.rmi.RemoteException
fileName - the wsdl file name.fileNameMXExceptionjava.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.jdom.Document doc)
                                                        throws MXException
doc - JDOM Documentorg.jdom.JDOMException - JDOM ExceptionMXExceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(java.io.InputStream is)
                                                        throws MXException
is - the xml doc as a streamorg.jdom.JDOMException - JDOM ExceptionMXExceptionpublic static org.apache.axiom.om.OMElement convertToOMElement(byte[] data)
                                                        throws MXException
data - org.jdom.JDOMException - JDOM ExceptionMXExceptionpublic static org.jdom.Document convertToJDOM(org.apache.axiom.om.OMElement element)
                                       throws MXException
element - xml documentorg.jdom.JDOMException - JDOM ExceptionMXExceptionpublic static byte[] convertToBytes(org.apache.axiom.om.OMElement element)
                             throws MXException
MXException