This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 6922c33cc3 Remove the unbuildable dynamicclient sample
6922c33cc3 is described below

commit 6922c33cc3b4ab08e7ccbcf7849dea46ab441f94
Author: Robert Lazarski <[email protected]>
AuthorDate: Sun Oct 11 10:25:25 2026 -1000

    Remove the unbuildable dynamicclient sample
    
    Never in the reactor, and its modules' parent version did not match the 
aggregator, so it could not be built. Noted under Distribution Changes in the 
2.0.2 release notes.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 modules/samples/dynamicclient/README.txt           | 17 -----
 modules/samples/dynamicclient/client/pom.xml       | 49 --------------
 .../axis2/examples/client/WSDL11DynamicClient.java | 65 ------------------
 .../axis2/examples/client/WSDL20DynamicClient.java | 65 ------------------
 modules/samples/dynamicclient/pom.xml              | 32 ---------
 modules/samples/dynamicclient/server/pom.xml       | 76 ----------------------
 .../axis2/examples/server/CalculatorService.java   | 32 ---------
 .../CalculatorService/META-INF/services.xml        | 32 ---------
 src/site/markdown/release-notes/2.0.2.md           |  7 ++
 9 files changed, 7 insertions(+), 368 deletions(-)

diff --git a/modules/samples/dynamicclient/README.txt 
b/modules/samples/dynamicclient/README.txt
deleted file mode 100755
index 0b53ef2ba6..0000000000
--- a/modules/samples/dynamicclient/README.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Axis2 Dynamic client Sample
-=========================
-
-
-Building the Service
-====================
-* Move to "server" directory
-* Run "mvn axis2:run" this will start Axis2 Simple HTTP server with above 
service. 
-
-
-
-Running the Clients
-===================
-
-* Run each clients using a IDE or use following Maven commands. 
-
-mvn exec:java 
-Dexec.mainClass="org.apache.axis2.examples.client.WSDL11DynamicClient"  
-Dexec.classpathScope=compile
diff --git a/modules/samples/dynamicclient/client/pom.xml 
b/modules/samples/dynamicclient/client/pom.xml
deleted file mode 100644
index c73d321983..0000000000
--- a/modules/samples/dynamicclient/client/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements. See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership. The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License. You may obtain a copy of the License at
-  ~
-  ~ http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied. See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->  
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <artifactId>dynamic-client</artifactId>
-               <groupId>org.apache.axis2.examples</groupId>
-               <version>2.0.0</version>
-       </parent>
-       <artifactId>client</artifactId>
-
-       <dependencies>
-               <dependency>
-                       <groupId>org.apache.axis2</groupId>
-                       <artifactId>axis2-adb</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.axis2</groupId>
-                       <artifactId>axis2-transport-http</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.axis2</groupId>
-                       <artifactId>axis2-transport-local</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-       </dependencies>
-</project>
\ No newline at end of file
diff --git 
a/modules/samples/dynamicclient/client/src/main/java/org/apache/axis2/examples/client/WSDL11DynamicClient.java
 
b/modules/samples/dynamicclient/client/src/main/java/org/apache/axis2/examples/client/WSDL11DynamicClient.java
deleted file mode 100644
index 131d769f16..0000000000
--- 
a/modules/samples/dynamicclient/client/src/main/java/org/apache/axis2/examples/client/WSDL11DynamicClient.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.axis2.examples.client;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-
-import org.apache.axiom.om.OMAbstractFactory;
-import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.client.ServiceClient;
-
-public class WSDL11DynamicClient {
-
-    public static void main(String[] args) throws MalformedURLException, 
AxisFault {
-
-        URL wsdlURL = new 
URL("http://localhost:8080/axis2/services/CalculatorService?wsdl";);
-        QName serviceName = new 
QName("http://server.examples.axis2.apache.org";, "CalculatorService");
-        String port = "CalculatorServiceHttpEndpoint";
-        ServiceClient serviceClient = new ServiceClient(null, wsdlURL, 
serviceName, port);
-        OMElement res = serviceClient.sendReceive(new QName(
-                "http://server.examples.axis2.apache.org";, "add"), creatMsg());
-        System.out.println(res);
-
-    }
-
-    public static OMElement creatMsg() {
-        OMFactory fac = OMAbstractFactory.getOMFactory();
-        OMNamespace omNs = 
fac.createOMNamespace("http://server.examples.axis2.apache.org";, "ns1");
-        // creating the payload
-        OMElement method = fac.createOMElement("add", omNs);
-        OMElement value1 = fac.createOMElement("value1", omNs);
-        OMElement value2 = fac.createOMElement("value2", omNs);
-
-        value1.setText("4");
-        value2.setText("3");
-
-        method.addChild(value1);
-        method.addChild(value2);
-
-        return method;
-    }
-
-}
diff --git 
a/modules/samples/dynamicclient/client/src/main/java/org/apache/axis2/examples/client/WSDL20DynamicClient.java
 
b/modules/samples/dynamicclient/client/src/main/java/org/apache/axis2/examples/client/WSDL20DynamicClient.java
deleted file mode 100644
index 312e386ccc..0000000000
--- 
a/modules/samples/dynamicclient/client/src/main/java/org/apache/axis2/examples/client/WSDL20DynamicClient.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.axis2.examples.client;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-
-import org.apache.axiom.om.OMAbstractFactory;
-import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.OMFactory;
-import org.apache.axiom.om.OMNamespace;
-import org.apache.axis2.AxisFault;
-import org.apache.axis2.client.ServiceClient;
-
-public class WSDL20DynamicClient {
-
-    public static void main(String[] args) throws MalformedURLException, 
AxisFault {
-
-        URL wsdlURL = new 
URL("http://localhost:8080/axis2/services/CalculatorService?wsdl2";);
-        QName serviceName = new 
QName("http://server.examples.axis2.apache.org";, "CalculatorService");
-        String port = "CalculatorServiceHttpEndpoint";
-        ServiceClient serviceClient = new ServiceClient(null, wsdlURL, 
serviceName, port);
-        OMElement res = serviceClient.sendReceive(new QName(
-                "http://server.examples.axis2.apache.org";, "add"), creatMsg());
-        System.out.println(res);
-
-    }
-
-    public static OMElement creatMsg() {
-        OMFactory fac = OMAbstractFactory.getOMFactory();
-        OMNamespace omNs = 
fac.createOMNamespace("http://server.examples.axis2.apache.org";, "ns1");
-        // creating the payload
-        OMElement method = fac.createOMElement("add", omNs);
-        OMElement value1 = fac.createOMElement("value1", omNs);
-        OMElement value2 = fac.createOMElement("value2", omNs);
-
-        value1.setText("4");
-        value2.setText("5");
-
-        method.addChild(value1);
-        method.addChild(value2);
-
-        return method;
-    }
-
-}
diff --git a/modules/samples/dynamicclient/pom.xml 
b/modules/samples/dynamicclient/pom.xml
deleted file mode 100644
index 8e04658f7c..0000000000
--- a/modules/samples/dynamicclient/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements. See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership. The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License. You may obtain a copy of the License at
-  ~
-  ~ http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied. See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-       <modelVersion>4.0.0</modelVersion>
-       <groupId>org.apache.axis2.examples</groupId>
-       <artifactId>dynamic-client</artifactId>
-       <version>2.0.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-       
-       <modules>
-               <module>server</module>
-               <module>client</module>
-       </modules>
-       
-</project>
diff --git a/modules/samples/dynamicclient/server/pom.xml 
b/modules/samples/dynamicclient/server/pom.xml
deleted file mode 100644
index 66567213c9..0000000000
--- a/modules/samples/dynamicclient/server/pom.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements. See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership. The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License. You may obtain a copy of the License at
-  ~
-  ~ http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied. See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <artifactId>dynamic-client</artifactId>
-               <groupId>org.apache.axis2.examples</groupId>
-               <version>2.0.0</version>
-       </parent>
-       <artifactId>server</artifactId>
-
-       <dependencies>
-               <dependency>
-                       <groupId>org.apache.axis2</groupId>
-                       <artifactId>axis2-adb</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.axis2</groupId>
-                       <artifactId>axis2-transport-http</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.axis2</groupId>
-                       <artifactId>axis2-transport-local</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-       </dependencies>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.axis2</groupId>
-                               
<artifactId>simple-server-maven-plugin</artifactId>
-                               <version>${project.version}</version>
-                       </plugin>
-
-                       <plugin>
-                               <groupId>org.apache.axis2</groupId>
-                               <artifactId>axis2-aar-maven-plugin</artifactId>
-                               <version>${project.version}</version>
-                               <configuration>
-                                       
<servicesXmlFile>src/main/resources/services/CalculatorService/META-INF/services.xml</servicesXmlFile>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>generates aar</id>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>aar</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
-</project>
\ No newline at end of file
diff --git 
a/modules/samples/dynamicclient/server/src/main/java/org/apache/axis2/examples/server/CalculatorService.java
 
b/modules/samples/dynamicclient/server/src/main/java/org/apache/axis2/examples/server/CalculatorService.java
deleted file mode 100644
index 0a85d9169a..0000000000
--- 
a/modules/samples/dynamicclient/server/src/main/java/org/apache/axis2/examples/server/CalculatorService.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.axis2.examples.server;
-
-public class CalculatorService {
-
-    public int add(int value1, int value2) {
-        return value1 + value2;
-    }
-
-    public int multiply(int value1, int value2) {
-        return value1 * value2;
-    }
-
-}
diff --git 
a/modules/samples/dynamicclient/server/src/main/resources/services/CalculatorService/META-INF/services.xml
 
b/modules/samples/dynamicclient/server/src/main/resources/services/CalculatorService/META-INF/services.xml
deleted file mode 100644
index 90bddf725f..0000000000
--- 
a/modules/samples/dynamicclient/server/src/main/resources/services/CalculatorService/META-INF/services.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements. See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership. The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License. You may obtain a copy of the License at
-  ~
-  ~ http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied. See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-
-<serviceGroup>
-       <service name="CalculatorService">
-               <parameter 
name="ServiceClass">org.apache.axis2.examples.server.CalculatorService</parameter>
-               <operation name="add">
-                       <messageReceiver 
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
-               </operation>
-               <operation name="multiply">
-                       <messageReceiver 
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
-               </operation>
-       </service>
-</serviceGroup>
\ No newline at end of file
diff --git a/src/site/markdown/release-notes/2.0.2.md 
b/src/site/markdown/release-notes/2.0.2.md
index a74581fe13..2313b86f72 100644
--- a/src/site/markdown/release-notes/2.0.2.md
+++ b/src/site/markdown/release-notes/2.0.2.md
@@ -110,6 +110,13 @@ service that had metadata exposure turned off, they no 
longer will.
   unaffected. A WAR deployment that uses JMS now adds `axis2-transport-jms` to
   `WEB-INF/lib` alongside the broker client it already had to add.
 
+- **The `dynamicclient` sample is removed from the source distribution.** It 
was
+  never part of the build, and its modules declared a parent version that did 
not
+  match their own aggregator, so it could not be built. Its WSDL 2.0 client 
also
+  depended on WSDL 2.0 support that is no longer documented. `ServiceClient` 
can
+  still be constructed from a WSDL URL; `modules/samples/jaxws-dynamic` covers 
the
+  JAX-WS Dispatch client.
+
 ## Deprecated for Removal
 
 - **The mail transport (`axis2-transport-mail`) is deprecated and is planned 
for

Reply via email to