@Component public class SpringWsUriBuilder extends Object implements WebServiceUriBuilder
WebServiceUriBuilder
for using Spring WS component.Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_FACTORY_SOAP11 |
static String |
MESSAGE_FACTORY_SOAP12 |
Constructor and Description |
---|
SpringWsUriBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
getInWsUri(QName qName,
String endpointMappingRef,
String params)
Gets "from" URI for handling incoming WS messages.
|
String |
getOutWsSoap12Uri(String connectionUri,
String messageSenderRef,
String soapAction)
Constructs a "to" URI for sending WS messages to external systems,
i.e., Camel Web Service Endpoint URI for contacting an external system via SOAP 1.2.
|
String |
getOutWsUri(String connectionUri,
String messageSenderRef,
String soapAction)
Constructs a "to" URI for sending WS messages to external systems,
i.e., Camel Web Service Endpoint URI for contacting an external system via SOAP 1.1.
|
public static final String MESSAGE_FACTORY_SOAP11
public static final String MESSAGE_FACTORY_SOAP12
public String getOutWsUri(String connectionUri, String messageSenderRef, String soapAction)
WebServiceUriBuilder
getOutWsUri
in interface WebServiceUriBuilder
connectionUri
- the URI to connect to the external system, e.g.: http://localhost:8080/vfmock/ws/mm7messageSenderRef
- the message sender ref (bean id/name in Spring context)soapAction
- the SOAP action to be invoked,
can be null
for implicit handling of SOAP messages by the external systempublic String getOutWsSoap12Uri(String connectionUri, String messageSenderRef, String soapAction)
WebServiceUriBuilder
getOutWsSoap12Uri
in interface WebServiceUriBuilder
connectionUri
- the URI to connect to the external system, e.g.: http://localhost:8080/vfmock/ws/mm7messageSenderRef
- the message sender ref (bean id/name in Spring context)soapAction
- the SOAP action to be invoked,
can be null
for implicit handling of SOAP messages by the external systempublic String getInWsUri(QName qName, String endpointMappingRef, @Nullable String params)
WebServiceUriBuilder
getInWsUri
in interface WebServiceUriBuilder
qName
- the operation QName (namespace + local part)endpointMappingRef
- the endpoint mapping ref (bean id/name in Spring context)params
- the endpoint URI parametersCopyright © 2018 Pivotal Software, Inc.. All rights reserved.