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 cff15a8e85 AXIS2-6033 apply community suggested fix to the AxisService
class
cff15a8e85 is described below
commit cff15a8e851b69277099bfa9f3457196e388b0c7
Author: Robert Lazarski
AuthorDate: Wed May 25 18:26:03 2022 -0400
AXIS2-6033 apply community suggested fix to the AxisService class
---
modules/kernel/src/org/apache/axis2/description/AxisService.java | 5 +
1 file changed, 5 insertions(+)
diff --git a/modules/kernel/src/org/apache/axis2/description/AxisService.java
b/modules/kernel/src/org/apache/axis2/description/AxisService.java
index f4584dcf27..0fa8fc63a8 100644
--- a/modules/kernel/src/org/apache/axis2/description/AxisService.java
+++ b/modules/kernel/src/org/apache/axis2/description/AxisService.java
@@ -1169,6 +1169,11 @@ public class AxisService extends AxisDescription {
definition = (Definition) wsdlParameter.getValue();
}
+if (!wsdlImportLocationAdjusted) {
+changeImportAndIncludeLocations(definition);
+wsdlImportLocationAdjusted = true;
+}
+
if (definition != null) {
try {
printDefinitionObject(getWSDLDefinition(definition, wsdlName),