SpringWsUriBuilder implements WebServiceUriBuilder { @Override public String getOutWsUri(String connectionUri, String messageSenderRef, String soapAction) { Assert.hasText(connectionUri, "the connectionUri must not be empty"); Assert.hasText(messageSenderRef, "the messageSenderRef must not be empty"); return getOutUri(connectionUri, messageSenderRef, soapAction, MESSAGE_FACTORY_SOAP11); }  @Override String getOutWsUri(String connectionUri, String messageSenderRef, String soapAction); @Override String getOutWsSoap12Uri(String connectionUri, String messageSenderRef, String soapAction); @Override String getInWsUri(QName qName, String endpointMappingRef, @Nullable String params); static final String MESSAGE_FACTORY_SOAP11; static final String MESSAGE_FACTORY_SOAP12; }
@Test public void testGetOutWsUri() { assertThat(uriBuilder.getOutWsUri("uri", "senderRef", "action"), is("spring-ws:uri?messageSender=#senderRef&messageFactory=#messageFactorySOAP11&soapAction=action")); }