diff options
Diffstat (limited to '')
2 files changed, 44 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/compact-base/pom.xml b/branches/sca-java-1.x/modules/compact-base/pom.xml index 3bd6983a51..765dbe7336 100644 --- a/branches/sca-java-1.x/modules/compact-base/pom.xml +++ b/branches/sca-java-1.x/modules/compact-base/pom.xml @@ -162,6 +162,49 @@ </dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
+ <artifactId>tuscany-implementation-script</artifactId>
+ <version>${pom.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.bsf</groupId>
+ <artifactId>bsf-all</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-interface-wsdl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-impl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>rhino</groupId>
+ <artifactId>js</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jruby</groupId>
+ <artifactId>jruby-complete</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.python</groupId>
+ <artifactId>jython</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all-minimal</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
<artifactId>tuscany-interface</artifactId>
<version>${pom.version}</version>
</dependency>
diff --git a/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java b/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java index 9359590424..e019129554 100644 --- a/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java +++ b/branches/sca-java-1.x/modules/implementation-script/src/main/java/org/apache/tuscany/sca/implementation/script/ScriptInvokerFactory.java @@ -43,7 +43,6 @@ import org.apache.tuscany.sca.implementation.script.engines.TuscanyJRubyScriptEn import org.apache.tuscany.sca.interfacedef.InterfaceContract; import org.apache.tuscany.sca.interfacedef.Operation; import org.apache.tuscany.sca.interfacedef.java.JavaInterface; -import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract; import org.apache.tuscany.sca.invocation.Invoker; import org.apache.tuscany.sca.runtime.RuntimeComponent; @@ -117,7 +116,7 @@ public class ScriptInvokerFactory implements InvokerFactory { // set the databinding and XMLHelper for WSDL interfaces for (Service service : rc.getServices()) { InterfaceContract ic = service.getInterfaceContract(); - if (ic instanceof WSDLInterfaceContract) { + if ("org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract".equals(ic.getClass())) { // Set to use the Axiom data binding ic.getInterface().resetDataBinding(OMElement.class.getName()); xmlHelper = XMLHelper.getArgHelper(scriptEngine); |