This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 4.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/4.1.x-fixes by this push:
new 5bfc926458 Removing xml-resolver from frontend-simple (#2789)
5bfc926458 is described below
commit 5bfc9264587225960a8ca8b6a63e54e5b4ab4aae
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu Dec 18 09:21:20 2025 +0000
Removing xml-resolver from frontend-simple (#2789)
(cherry picked from commit 099e7b5a3dbed9b602be587e281a735d79f901e7)
---
rt/frontend/simple/pom.xml | 5 -----
.../src/test/java/org/apache/cxf/service/factory/RountripTest.java | 7 ++++++-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/rt/frontend/simple/pom.xml b/rt/frontend/simple/pom.xml
index c007a7b4a9..117c8867d3 100644
--- a/rt/frontend/simple/pom.xml
+++ b/rt/frontend/simple/pom.xml
@@ -82,11 +82,6 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>xml-resolver</groupId>
- <artifactId>xml-resolver</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
diff --git
a/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/RountripTest.java
b/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/RountripTest.java
index 1b69b5a135..de77dd6f27 100644
---
a/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/RountripTest.java
+++
b/rt/frontend/simple/src/test/java/org/apache/cxf/service/factory/RountripTest.java
@@ -18,6 +18,8 @@
*/
package org.apache.cxf.service.factory;
+import java.net.URL;
+
import javax.xml.namespace.QName;
import org.apache.cxf.frontend.ClientFactoryBean;
@@ -63,11 +65,14 @@ public class RountripTest extends
AbstractSimpleFrontendTest {
svrBean.setTransportId("http://schemas.xmlsoap.org/soap/http");
svrBean.setServiceBean(new GreeterImplDoc());
svrBean.setServiceClass(Greeter.class);
+ URL wsdl = RountripTest.class.getResource(
+ "/wsdl/hello_world_doc_lit.wsdl");
+
svrBean.setEndpointName(new
QName("http://apache.org/hello_world_doc_lit",
"SoapPort"));
svrBean.setServiceName(new
QName("http://apache.org/hello_world_doc_lit",
"SOAPService"));
- svrBean.setWsdlLocation("testutils/hello_world_doc_lit.wsdl");
+ svrBean.setWsdlLocation(wsdl.toString());
svrBean.setBus(getBus());
svrBean.create();