Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Villiger2019-11-06 16:45:11 +0000
committerMatthias Villiger2019-11-06 16:45:11 +0000
commit5a668e471096dad43733035cd5bb30217b72083c (patch)
tree2af68f9e5a83a450aa484541a20c2ccb6d3f27b2
parentabf92a1aa15dba69a477c1ebc580fcb25987f5da (diff)
downloadorg.eclipse.scout.sdk-5a668e471096dad43733035cd5bb30217b72083c.tar.gz
org.eclipse.scout.sdk-5a668e471096dad43733035cd5bb30217b72083c.tar.xz
org.eclipse.scout.sdk-5a668e471096dad43733035cd5bb30217b72083c.zip
Accept SOAP12Address when completing mappings
-rw-r--r--org.eclipse.scout.sdk.core.s/src/main/java/org/eclipse/scout/sdk/core/s/jaxws/ParsedWsdl.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.scout.sdk.core.s/src/main/java/org/eclipse/scout/sdk/core/s/jaxws/ParsedWsdl.java b/org.eclipse.scout.sdk.core.s/src/main/java/org/eclipse/scout/sdk/core/s/jaxws/ParsedWsdl.java
index f5923037d..dfc8c6cbe 100644
--- a/org.eclipse.scout.sdk.core.s/src/main/java/org/eclipse/scout/sdk/core/s/jaxws/ParsedWsdl.java
+++ b/org.eclipse.scout.sdk.core.s/src/main/java/org/eclipse/scout/sdk/core/s/jaxws/ParsedWsdl.java
@@ -10,10 +10,7 @@
*/
package org.eclipse.scout.sdk.core.s.jaxws;
-import static java.util.Collections.emptyList;
-import static java.util.Collections.emptyMap;
-import static java.util.Collections.emptySet;
-import static java.util.Collections.unmodifiableMap;
+import static java.util.Collections.*;
import static org.eclipse.scout.sdk.core.util.Strings.toCharArray;
import java.io.CharArrayReader;
@@ -48,6 +45,7 @@ import javax.wsdl.extensions.schema.SchemaImport;
import javax.wsdl.extensions.schema.SchemaReference;
import javax.wsdl.extensions.soap.SOAPAddress;
import javax.wsdl.extensions.soap.SOAPBody;
+import javax.wsdl.extensions.soap12.SOAP12Address;
import javax.wsdl.factory.WSDLFactory;
import javax.wsdl.xml.WSDLReader;
import javax.xml.namespace.QName;
@@ -215,7 +213,7 @@ public class ParsedWsdl {
Map<String, Port> ports = service.getPorts();
for (Port port : ports.values()) {
for (ExtensibilityElement element : extensibilityElementsOf(port)) {
- if (element instanceof SOAPAddress) {
+ if (element instanceof SOAPAddress || element instanceof SOAP12Address) {
@SuppressWarnings("squid:S2259")
Binding binding = port.getBinding();
if (isBindingSupported(binding)) {

Back to the top