Minor URI fixes.
This commit is contained in:
@@ -29,6 +29,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.ResourceUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
import org.springframework.ws.WebServiceMessage;
|
||||
import org.springframework.ws.transport.WebServiceConnection;
|
||||
@@ -66,7 +67,7 @@ public class HttpUrlConnection extends AbstractHttpSenderConnection {
|
||||
*/
|
||||
|
||||
public URI getUri() throws URISyntaxException {
|
||||
return connection.getURL().toURI();
|
||||
return ResourceUtils.toURI(connection.getURL());
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user