From 4665f0e91d0c8934bb463da10cf57d919c7d424b Mon Sep 17 00:00:00 2001 From: bdaniel Date: Fri, 6 Aug 2010 04:03:57 +0000 Subject: Report an error if a class annotated with @WebServiceClient is used as an SCA interface (JCA 11014) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@982867 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache') diff --git a/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java b/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java index 805e691f16..8502d4f4e8 100644 --- a/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java +++ b/sca-java-2.x/trunk/modules/interface-java/src/main/java/org/apache/tuscany/sca/interfacedef/java/xml/JavaInterfaceProcessor.java @@ -31,6 +31,7 @@ import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import javax.xml.stream.XMLStreamWriter; +import javax.xml.ws.WebServiceClient; import org.apache.tuscany.sca.assembly.xml.PolicySubjectProcessor; import org.apache.tuscany.sca.contribution.processor.ContributionReadException; @@ -279,6 +280,11 @@ public class JavaInterfaceProcessor implements StAXArtifactProcessor