Class EndpointReferenceUtils
java.lang.Object
org.apache.axis2.jaxws.addressing.util.EndpointReferenceUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddExtensibleAttributes(org.apache.axis2.addressing.EndpointReference axis2EPR, Map<QName, String> attributes) static voidaddExtensibleElements(org.apache.axis2.addressing.EndpointReference axis2EPR, Element... elements) static voidaddInterface(org.apache.axis2.addressing.EndpointReference axis2EPR, QName portType, String addressingNamespace) static voidaddLocation(org.apache.axis2.addressing.EndpointReference axis2EPR, String targetNamespace, String wsdlDocumentLocation, String addressingNamespace) static voidaddMetadata(org.apache.axis2.addressing.EndpointReference axis2EPR, Element... metadata) static voidaddReferenceParameters(org.apache.axis2.addressing.EndpointReference axis2EPR, Element... referenceParameters) static voidaddService(org.apache.axis2.addressing.EndpointReference axis2EPR, QName service, QName port, String addressingNamespace) static jakarta.xml.ws.EndpointReferenceconvertFromAxis2(org.apache.axis2.addressing.EndpointReference axis2EPR, String addressingNamespace) Convert from aEndpointReferenceto a subclass ofEndpointReference.static jakarta.xml.ws.EndpointReferenceconvertFromSource(Source eprInfoset) Convert from aSourceto a subclass ofEndpointReference.static StringconvertToAxis2(org.apache.axis2.addressing.EndpointReference axis2EPR, jakarta.xml.ws.EndpointReference jaxwsEPR) Convert from aEndpointReferenceto a an instance ofEndpointReference.static org.apache.axis2.addressing.EndpointReferencecreateAxis2EndpointReference(String address) static org.apache.axis2.addressing.EndpointReferencecreateAxis2EndpointReference(String address, QName serviceName, QName portName, String wsdlDocumentLocation, String addressingNamespace) static <T extends jakarta.xml.ws.EndpointReference>
StringgetAddressingNamespace(Class<T> clazz)
-
Method Details
-
convertFromAxis2
public static jakarta.xml.ws.EndpointReference convertFromAxis2(org.apache.axis2.addressing.EndpointReference axis2EPR, String addressingNamespace) throws Exception Convert from aEndpointReferenceto a subclass ofEndpointReference.- Parameters:
axis2EPR-addressingNamespace-- Returns:
- Throws:
Exception
-
convertFromSource
public static jakarta.xml.ws.EndpointReference convertFromSource(Source eprInfoset) throws Exception Convert from aSourceto a subclass ofEndpointReference.- Parameters:
eprInfoset-- Returns:
- Throws:
Exception
-
convertToAxis2
public static String convertToAxis2(org.apache.axis2.addressing.EndpointReference axis2EPR, jakarta.xml.ws.EndpointReference jaxwsEPR) throws Exception Convert from aEndpointReferenceto a an instance ofEndpointReference.- Parameters:
axis2EPR-jaxwsEPR-- Returns:
- the WS-Addressing namespace of the
jakarta.xml.ws.EndpointReference. - Throws:
Exception
-
getAddressingNamespace
public static <T extends jakarta.xml.ws.EndpointReference> String getAddressingNamespace(Class<T> clazz) - Type Parameters:
T-- Parameters:
clazz-- Returns:
-
createAxis2EndpointReference
public static org.apache.axis2.addressing.EndpointReference createAxis2EndpointReference(String address, QName serviceName, QName portName, String wsdlDocumentLocation, String addressingNamespace) - Parameters:
address-serviceName-portName-wsdlDocumentLocation-addressingNamespace-- Returns:
-
createAxis2EndpointReference
public static org.apache.axis2.addressing.EndpointReference createAxis2EndpointReference(String address) - Parameters:
address-- Returns:
-
addReferenceParameters
public static void addReferenceParameters(org.apache.axis2.addressing.EndpointReference axis2EPR, Element... referenceParameters) throws Exception - Parameters:
axis2EPR-referenceParameters-- Throws:
Exception
-
addExtensibleElements
public static void addExtensibleElements(org.apache.axis2.addressing.EndpointReference axis2EPR, Element... elements) throws Exception - Parameters:
axis2EPR-elements-- Throws:
Exception
-
addExtensibleAttributes
public static void addExtensibleAttributes(org.apache.axis2.addressing.EndpointReference axis2EPR, Map<QName, String> attributes) throws Exception- Throws:
Exception
-
addMetadata
public static void addMetadata(org.apache.axis2.addressing.EndpointReference axis2EPR, Element... metadata) throws Exception - Parameters:
axis2EPR-metadata-- Throws:
Exception
-
addInterface
public static void addInterface(org.apache.axis2.addressing.EndpointReference axis2EPR, QName portType, String addressingNamespace) throws Exception - Parameters:
axis2EPR-portType-addressingNamespace-- Throws:
Exception
-
addService
public static void addService(org.apache.axis2.addressing.EndpointReference axis2EPR, QName service, QName port, String addressingNamespace) throws Exception - Parameters:
axis2EPR-service-port-addressingNamespace-- Throws:
Exception
-
addLocation
public static void addLocation(org.apache.axis2.addressing.EndpointReference axis2EPR, String targetNamespace, String wsdlDocumentLocation, String addressingNamespace) throws Exception - Parameters:
axis2EPR-targetNamespace-wsdlDocumentLocation-addressingNamespace-- Throws:
Exception
-