Dispatch
instance for use with objects of the client's choosing.
@param portName Qualified name for the target service endpoint
@param type The class of object used for messages or messagepayloads. Implementations are required to support javax.xml.transform.Source
and javax.xml.soap.SOAPMessage
.
@param mode Controls whether the created dispatch instance is messageor payload oriented, i.e. whether the client will work with complete protocol messages or message payloads. E.g. when using the SOAP protocol, this parameter controls whether the client will work with SOAP messages or the contents of a SOAP body. Mode MUST be MESSAGE
when type is SOAPMessage
.
@param features A list of WebServiceFeatures
to configure on theproxy. Supported features not in the features
parameter will have their default values.
@return Dispatch instance.
@throws WebServiceException If any error in the creation ofthe Dispatch
object or if a feature is enabled that is not compatible with this port or is unsupported.
@see javax.xml.transform.Source
@see javax.xml.soap.SOAPMessage
@see WebServiceFeature
@since JAX-WS 2.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|