public class SimpleWsProducer<AuditDatasetType extends WsAuditDataset,ConfigType extends WsTransactionConfiguration<AuditDatasetType>,InType,OutType> extends AbstractWsProducer<AuditDatasetType,ConfigType,InType,OutType>
Constructor and Description |
---|
SimpleWsProducer(AbstractWsEndpoint<AuditDatasetType,ConfigType> endpoint,
JaxWsClientFactory<AuditDatasetType> clientFactory,
Class<InType> requestClass,
Class<OutType> responseClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected OutType |
callService(Object clientObject,
InType request)
Sends the given request body to a Web Service via the given client proxy.
|
cleanRequestContext, configureClient, enrichRequestContext, enrichResponseMessage, getAlternativeRequestKeys, getClient, getEndpoint, getRequestClass, getResponseClass, getWsTransactionConfiguration, process
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public SimpleWsProducer(AbstractWsEndpoint<AuditDatasetType,ConfigType> endpoint, JaxWsClientFactory<AuditDatasetType> clientFactory, Class<InType> requestClass, Class<OutType> responseClass)
endpoint
- Camel endpoint instance.clientFactory
- JAX-WS client object factory.requestClass
- type of request messages.responseClass
- type of response messages.protected OutType callService(Object clientObject, InType request) throws Exception
AbstractWsProducer
callService
in class AbstractWsProducer<AuditDatasetType extends WsAuditDataset,ConfigType extends WsTransactionConfiguration<AuditDatasetType>,InType,OutType>
Exception
Copyright © 2018 Open eHealth Foundation. All rights reserved.