From 896e0bf9aaedd6ba95513f518cb0a7afd033fd3e Mon Sep 17 00:00:00 2001 From: antelder Date: Fri, 11 Nov 2011 10:45:01 +0000 Subject: 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 --- .../apache/tuscany/sca/binding/ws/xml/WebServiceBindingProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/binding-ws') 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; -- cgit v1.2.3