Package org.apache.cxf.binding.soap
Class SoapTransportFactory
- java.lang.Object
-
- org.apache.cxf.transport.AbstractTransportFactory
-
- org.apache.cxf.binding.soap.SoapTransportFactory
-
- All Implemented Interfaces:
ConduitInitiator,DestinationFactory,WSDLEndpointFactory
- Direct Known Subclasses:
JAXWSHttpSpiTransportFactory
public class SoapTransportFactory extends AbstractTransportFactory implements DestinationFactory, WSDLEndpointFactory, ConduitInitiator
-
-
Field Summary
Fields Modifier and Type Field Description static StringCANNOT_GET_CONDUIT_ERRORstatic List<String>DEFAULT_NAMESPACESstatic Set<String>DEFAULT_PREFIXESstatic StringSOAP_11_HTTP_BINDINGstatic StringSOAP_12_HTTP_BINDINGstatic StringTRANSPORT_ID-
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID
-
-
Constructor Summary
Constructors Constructor Description SoapTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointInfocreateEndpointInfo(Bus bus, ServiceInfo serviceInfo, BindingInfo b, List<?> ees)voidcreatePortExtensors(Bus b, EndpointInfo ei, Service service)ConduitgetConduit(EndpointInfo ei, Bus b)Initiate an outbound Conduit.ConduitgetConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus)Initiate an outbound Conduit.DestinationgetDestination(EndpointInfo ei, Bus bus)Create a destination.Set<String>getUriPrefixes()StringmapTransportURI(String s, String address)voidsetActivationNamespaces(Collection<String> ans)-
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIds
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
-
Methods inherited from interface org.apache.cxf.transport.DestinationFactory
getTransportIds
-
-
-
-
Field Detail
-
CANNOT_GET_CONDUIT_ERROR
public static final String CANNOT_GET_CONDUIT_ERROR
- See Also:
- Constant Field Values
-
SOAP_11_HTTP_BINDING
public static final String SOAP_11_HTTP_BINDING
- See Also:
- Constant Field Values
-
SOAP_12_HTTP_BINDING
public static final String SOAP_12_HTTP_BINDING
- See Also:
- Constant Field Values
-
TRANSPORT_ID
public static final String TRANSPORT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUriPrefixes
public Set<String> getUriPrefixes()
- Specified by:
getUriPrefixesin interfaceConduitInitiator- Specified by:
getUriPrefixesin interfaceDestinationFactory- Overrides:
getUriPrefixesin classAbstractTransportFactory
-
getDestination
public Destination getDestination(EndpointInfo ei, Bus bus) throws IOException
Description copied from interface:DestinationFactoryCreate a destination.- Specified by:
getDestinationin interfaceDestinationFactory- Parameters:
ei- the endpoint info of the destination.- Returns:
- the created Destination.
- Throws:
IOException
-
createPortExtensors
public void createPortExtensors(Bus b, EndpointInfo ei, Service service)
- Specified by:
createPortExtensorsin interfaceWSDLEndpointFactory
-
createEndpointInfo
public EndpointInfo createEndpointInfo(Bus bus, ServiceInfo serviceInfo, BindingInfo b, List<?> ees)
- Specified by:
createEndpointInfoin interfaceWSDLEndpointFactory
-
getConduit
public Conduit getConduit(EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) throws IOException
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
ei- the endpoint info for a local endpoint on which the the configuration should be basedtarget- the target EPR- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
getConduit
public Conduit getConduit(EndpointInfo ei, Bus b) throws IOException
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
ei- the endpoint info of the target- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
setActivationNamespaces
public void setActivationNamespaces(Collection<String> ans)
-
-