|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.mex.util.MexUtil
public class MexUtil
| Constructor Summary | |
|---|---|
MexUtil()
|
|
| Method Summary | |
|---|---|
static OutputForm[] |
allSupportedOutputForms()
|
static OutputForm[] |
determineOutputForm(java.lang.String dialect,
Parameter axisConfigMEXParm,
Parameter serviceConfigMEXParm)
Determine output forms for specified dialect based on "metadataexchange" configured in axis2.xml and services.xml. |
static Metadata |
fromEPR(EndpointReference epr)
|
static Metadata |
fromOM(org.apache.axiom.om.OMElement omElement)
API to map mex:Metadata element to a Metadata object representation. |
static Metadata |
fromOM(org.apache.axiom.om.OMElement omElement,
java.lang.String mexNamespaceValue)
API to map mex:Metadata element to a Metadata object representation. |
static org.apache.axiom.om.impl.OMNamespaceImpl |
getAddressingNameSpace(org.apache.axiom.om.OMElement toAddress)
Answers WS-Addressing namespace |
static org.apache.axiom.soap.SOAPFactory |
getSOAPFactory(int SOAPVersion)
Answers SOAPFactory corresponding to specified SOAP Version |
static org.apache.axiom.soap.SOAPFactory |
getSOAPFactory(java.lang.String soapNameSpaceURI)
Answer SOAPFactory corresponding to specified SOAP namespace URI |
static int |
getSOAPVersion(org.apache.axiom.soap.SOAPEnvelope envelope)
Answer SOAPVersion for specified envelope |
static boolean |
isMexDisabled(Parameter serviceConfigMEXParm)
Check if metadata exchange has been disabled for a service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MexUtil()
| Method Detail |
|---|
public static int getSOAPVersion(org.apache.axiom.soap.SOAPEnvelope envelope)
throws MexException
envelope - SOAP Envelope
MexException
public static org.apache.axiom.soap.SOAPFactory getSOAPFactory(java.lang.String soapNameSpaceURI)
throws MexException
soapNameSpaceURI - soap namespace uri
MexExceptionpublic static org.apache.axiom.soap.SOAPFactory getSOAPFactory(int SOAPVersion)
SOAPVersion - SOAP version
public static OutputForm[] allSupportedOutputForms()
public static Metadata fromEPR(EndpointReference epr)
throws MexException
MexException
public static org.apache.axiom.om.impl.OMNamespaceImpl getAddressingNameSpace(org.apache.axiom.om.OMElement toAddress)
throws MexException
toAddress - To Address element
AxisFault
MexException
public static Metadata fromOM(org.apache.axiom.om.OMElement omElement)
throws MexException
Metadata for APIs to access metadata section.
omElement - an element such as endpoint reference type that contains mex:Metadata or
an mex:Metadata element
MexException - if invalid mex:Metadata element content is detected
public static Metadata fromOM(org.apache.axiom.om.OMElement omElement,
java.lang.String mexNamespaceValue)
throws MexException
Metadata for APIs to access metadata section.
omElement - an element such as endpoint reference type that contains mex:Metadata or
an mex:Metadata elementmexNamespaceValue - the namespace of the WS-MEX spec to comply with.
MexException - if invalid mex:Metadata element content is detectedpublic static boolean isMexDisabled(Parameter serviceConfigMEXParm)
serviceConfigMEXParm - metadataexchange configured in services.xml
public static OutputForm[] determineOutputForm(java.lang.String dialect,
Parameter axisConfigMEXParm,
Parameter serviceConfigMEXParm)
dialect - axisConfigMEXParm - "metadataexchange" parameter configured in axis2.xmlserviceConfigMEXParm - "metadataexchange" parameter configured in services.xml
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||