Class WSDLLocation
java.lang.Object
org.apache.axis2.addressing.metadata.WSDLLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfromOM(org.apache.axiom.om.OMAttribute omAttribute) Convenience method for converting an OMAttribute to an instance of either of these types.static booleanisWSDLLocationAttribute(org.apache.axiom.om.OMAttribute omAttribute) Static method to test whether anOMElementis recognized as a ServiceName element.voidsetLocation(String wsdlURL) voidsetTargetNamespace(String targetNamespace) org.apache.axiom.om.OMAttributetoOM(org.apache.axiom.om.OMFactory factory) Convenience method to convert an object of this type to anOMAttribute
-
Constructor Details
-
WSDLLocation
public WSDLLocation() -
WSDLLocation
-
-
Method Details
-
getTargetNamespace
-
setTargetNamespace
-
getLocation
-
setLocation
-
toOM
public org.apache.axiom.om.OMAttribute toOM(org.apache.axiom.om.OMFactory factory) Convenience method to convert an object of this type to anOMAttribute<... xmlns:wsdli="http://www.w3.org/ns/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...>
- Parameters:
factory-OMFactoryto use when generatingOMElements- Returns:
- an
OMAttributethat can be added to anEndpointReference
-
fromOM
Convenience method for converting an OMAttribute to an instance of either of these types.<... xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...>
<... xmlns:wsdli="http://www.w3.org/ns/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...>
- Parameters:
omAttribute- theOMAttributethat holds the wsdl location.- Throws:
AxisFault
-
isWSDLLocationAttribute
public static boolean isWSDLLocationAttribute(org.apache.axiom.om.OMAttribute omAttribute) Static method to test whether anOMElementis recognized as a ServiceName element. If this method returnstruethenfromOM(OMAttribute)is guaranteed not to throw an exception.- Parameters:
omAttribute- theOMElementto test.- Returns:
trueif the element is a ServiceName element,falseotherwise.
-