package eu.dnetlib.soap; import java.util.Map; import javax.xml.namespace.QName; import javax.xml.ws.wsaddressing.W3CEndpointReference; /** * This is a generalization of org.apache.cxf.jaxws.EndpointReferenceBuilder and org.apache.cxf.jaxws.EndpointImpl * *
* javax.xml.ws.WebServiceContext org.apache.cxf.jaxws.EndpointReferenceBuilder doesn't expose the API for adding * additional metadata while org.apache.cxf.jaxws.EndpointImpl doesn't take the correct endpoint address from the * EndpointInfo object. org.apache.cxf.endpoint.Endpoint return a CXF proprietary endpoint reference and not the * javax/w3c standard definition. *
* ** This interface is intended to provide an abstract way to construct an endpoint reference for a given service, * depending on the type of endpoint interface you have at hand (CXF abstract endpoint or jaxws endpoint) *
* ** Normally the type parameter T will be bound to your endpoint type. *
* ** In CXF jaxws applications you can easly get a WebServiceContext instance which returns an EndpointReference, however * the API is cumbersome because it requires instantiating w3c DOM Element instances for each reference parameter, and * it doesn't allow setting custom metadata elements. *
* ** Implementors of this API will extract as many useful informations from the runtime besides the plain soap endpoint * address. *
* * @author marko * @param