public final class EndpointReferenceUtils extends Object
public static javax.xml.ws.EndpointReference convertFromAxis2(EndpointReference axis2EPR, String addressingNamespace) throws Exception
EndpointReference to a
subclass of EndpointReference.axis2EPR - addressingNamespace - Exceptionpublic static javax.xml.ws.EndpointReference convertFromSource(Source eprInfoset) throws Exception
Source to a
subclass of EndpointReference.eprInfoset - Exceptionpublic static String convertToAxis2(EndpointReference axis2EPR, javax.xml.ws.EndpointReference jaxwsEPR) throws Exception
EndpointReference to a an instance of
EndpointReference.axis2EPR - jaxwsEPR - javax.xml.ws.EndpointReference.Exceptionpublic static <T extends javax.xml.ws.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 - Exceptionpublic static void addExtensibleElements(EndpointReference axis2EPR, Element... elements) throws Exception
axis2EPR - elements - Exceptionpublic static void addExtensibleAttributes(EndpointReference axis2EPR, Map<QName,String> attributes) throws Exception
Exceptionpublic static void addMetadata(EndpointReference axis2EPR, Element... metadata) throws Exception
axis2EPR - metadata - Exceptionpublic static void addInterface(EndpointReference axis2EPR, QName portType, String addressingNamespace) throws Exception
axis2EPR - portType - addressingNamespace - Exceptionpublic static void addService(EndpointReference axis2EPR, QName service, QName port, String addressingNamespace) throws Exception
axis2EPR - service - port - addressingNamespace - ExceptionCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.