This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch coheigea/xml-resolver in repository https://gitbox.apache.org/repos/asf/cxf.git
commit cab6264c3aa3c292a61b0ce177b669bc9dfeb7b4 Author: Colm O hEigeartaigh <[email protected]> AuthorDate: Wed Dec 17 09:58:32 2025 +0000 Removing xml-resolver from frontend-simple --- 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 6d7b13ff87..d2753df0ed 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();
