diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-11 10:45:01 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-11 10:45:01 +0000 |
commit | 896e0bf9aaedd6ba95513f518cb0a7afd033fd3e (patch) | |
tree | 6914748548d73e1e4b9b128bb9847b66d0fcb0f0 /sca-java-2.x/trunk | |
parent | 644d1e212af0c1026588c0f670ee12d57696c3c5 (diff) |
Fix WS compliance test fail by also checking for the wsdli namesapce
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java index c9e9e9032d..7cb3b89d48 100644 --- a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java +++ b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java @@ -272,7 +272,7 @@ public class WebServiceBindingProcessor extends BaseStAXArtifactProcessor implem QName elementName = reader.getName(); for (int i = 0; i < reader.getAttributeCount(); i++) { QName attributeName = reader.getAttributeName(i); - if(attributeName.getNamespaceURI() != null && attributeName.getNamespaceURI().length() > 0) { + if(attributeName.getNamespaceURI() != null && attributeName.getNamespaceURI().length() > 0 && !(attributeName.getNamespaceURI().equals(WSDLI_NS))) { if(!elementName.getNamespaceURI().equals(attributeName.getNamespaceURI()) ) { Object attributeValue = extensionAttributeProcessor.read(attributeName, reader, processorContext); Extension attributeExtension; |