SpringWsUriBuilder implements WebServiceUriBuilder { @Override public String getInWsUri(QName qName, String endpointMappingRef, @Nullable String params) { Assert.notNull(qName, "the qName must not be null"); Assert.hasText(endpointMappingRef, "the endpointMappingRef must not be empty"); return "spring-ws:rootqname:" + qName + "?endpointMapping=#" + endpointMappingRef + (params != null ? "&" + params : ""); }  @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 testGetInWsUri() { assertThat(uriBuilder.getInWsUri(QName.valueOf("rootElm"), "mappingRef", null), is("spring-ws:rootqname:rootElm?endpointMapping=#mappingRef")); }