public class WSDLLocation extends Object
Constructor and Description |
---|
WSDLLocation() |
WSDLLocation(String targetNamespace,
String wsdlURL) |
Modifier and Type | Method and Description |
---|---|
void |
fromOM(org.apache.axiom.om.OMAttribute omAttribute)
Convenience method for converting an OMAttribute to an instance of either of these types.
|
String |
getLocation() |
String |
getTargetNamespace() |
static boolean |
isWSDLLocationAttribute(org.apache.axiom.om.OMAttribute omAttribute)
Static method to test whether an
OMElement is recognized
as a ServiceName element. |
void |
setLocation(String wsdlURL) |
void |
setTargetNamespace(String targetNamespace) |
org.apache.axiom.om.OMAttribute |
toOM(org.apache.axiom.om.OMFactory factory)
Convenience method to convert an object of this type to an
OMAttribute |
public String getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
public String getLocation()
public void setLocation(String wsdlURL)
public org.apache.axiom.om.OMAttribute toOM(org.apache.axiom.om.OMFactory factory)
OMAttribute
<... xmlns:wsdli="http://www.w3.org/ns/wsdl-instance" wsdli:wsdlLocation="targetNamespace wsdlURL" ...>
factory
- OMFactory
to use when generating OMElement
sOMAttribute
that can be added to an EndpointReference
public void fromOM(org.apache.axiom.om.OMAttribute omAttribute) throws AxisFault
<... 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" ...>
omAttribute
- the OMAttribute
that holds the wsdl location.AxisFault
public static boolean isWSDLLocationAttribute(org.apache.axiom.om.OMAttribute omAttribute)
OMElement
is recognized
as a ServiceName element. If this method returns true
then
fromOM(OMAttribute)
is guaranteed not to throw an exception.omAttribute
- the OMElement
to test.true
if the element is a ServiceName element,
false
otherwise.Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.