public final class EndpointReferenceUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addExtensibleAttributes(EndpointReference axis2EPR,
Map<QName,String> attributes) |
static void |
addExtensibleElements(EndpointReference axis2EPR,
Element... elements) |
static void |
addInterface(EndpointReference axis2EPR,
QName portType,
String addressingNamespace) |
static void |
addLocation(EndpointReference axis2EPR,
String targetNamespace,
String wsdlDocumentLocation,
String addressingNamespace) |
static void |
addMetadata(EndpointReference axis2EPR,
Element... metadata) |
static void |
addReferenceParameters(EndpointReference axis2EPR,
Element... referenceParameters) |
static void |
addService(EndpointReference axis2EPR,
QName service,
QName port,
String addressingNamespace) |
static EndpointReference |
convertFromAxis2(EndpointReference axis2EPR,
String addressingNamespace)
Convert from a
EndpointReference to a
subclass of EndpointReference . |
static EndpointReference |
convertFromSource(Source eprInfoset)
Convert from a
Source to a
subclass of EndpointReference . |
static String |
convertToAxis2(EndpointReference axis2EPR,
EndpointReference jaxwsEPR)
Convert from a
EndpointReference to a an instance of
EndpointReference . |
static EndpointReference |
createAxis2EndpointReference(String address) |
static EndpointReference |
createAxis2EndpointReference(String address,
QName serviceName,
QName portName,
String wsdlDocumentLocation,
String addressingNamespace) |
static <T extends EndpointReference> |
getAddressingNamespace(Class<T> clazz) |
public static EndpointReference convertFromAxis2(EndpointReference axis2EPR, String addressingNamespace) throws Exception
EndpointReference
to a
subclass of EndpointReference
.axis2EPR
- addressingNamespace
- Exception
public static EndpointReference convertFromSource(Source eprInfoset) throws Exception
Source
to a
subclass of EndpointReference
.eprInfoset
- Exception
public static String convertToAxis2(EndpointReference axis2EPR, EndpointReference jaxwsEPR) throws Exception
EndpointReference
to a an instance of
EndpointReference
.axis2EPR
- jaxwsEPR
- javax.xml.ws.EndpointReference
.Exception
public static <T extends EndpointReference> String getAddressingNamespace(Class<T> clazz)
T
- clazz
- public static EndpointReference createAxis2EndpointReference(String address, QName serviceName, QName portName, String wsdlDocumentLocation, String addressingNamespace)
address
- serviceName
- portName
- wsdlDocumentLocation
- addressingNamespace
- public static EndpointReference createAxis2EndpointReference(String address)
address
- public static void addReferenceParameters(EndpointReference axis2EPR, Element... referenceParameters) throws Exception
axis2EPR
- referenceParameters
- Exception
public static void addExtensibleElements(EndpointReference axis2EPR, Element... elements) throws Exception
axis2EPR
- elements
- Exception
public static void addExtensibleAttributes(EndpointReference axis2EPR, Map<QName,String> attributes) throws Exception
Exception
public static void addMetadata(EndpointReference axis2EPR, Element... metadata) throws Exception
axis2EPR
- metadata
- Exception
public static void addInterface(EndpointReference axis2EPR, QName portType, String addressingNamespace) throws Exception
axis2EPR
- portType
- addressingNamespace
- Exception
public static void addService(EndpointReference axis2EPR, QName service, QName port, String addressingNamespace) throws Exception
axis2EPR
- service
- port
- addressingNamespace
- Exception
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.