diff options
Diffstat (limited to 'java/sca')
2 files changed, 3 insertions, 2 deletions
diff --git a/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/BPELODEDeployFile.java b/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/BPELODEDeployFile.java index dc2242a189..2520e78d63 100644 --- a/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/BPELODEDeployFile.java +++ b/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/BPELODEDeployFile.java @@ -42,7 +42,7 @@ import org.apache.tuscany.sca.implementation.bpel.BPELImplementation; *
* <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
* xmlns:tns="http://helloworld"
- * xmlns:tus="http://tuscany.apache.org">
+ * xmlns:tus="http://tuscany.apache.org/xmlns/sca/1.1">
*
* <process name="tns:HelloWorld">
* <active>true</active>
diff --git a/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELInvoker.java b/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELInvoker.java index d3c743d551..7285ceb601 100644 --- a/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELInvoker.java +++ b/java/sca/modules/implementation-bpel-runtime/src/main/java/org/apache/tuscany/sca/implementation/bpel/ode/provider/BPELInvoker.java @@ -33,6 +33,7 @@ import org.apache.ode.bpel.iapi.MyRoleMessageExchange; import org.apache.ode.bpel.iapi.MessageExchange.Status; import org.apache.ode.utils.DOMUtils; import org.apache.ode.utils.GUID; +import org.apache.tuscany.sca.assembly.Base; import org.apache.tuscany.sca.implementation.bpel.ode.EmbeddedODEServer; import org.apache.tuscany.sca.interfacedef.Interface; import org.apache.tuscany.sca.interfacedef.Operation; @@ -95,7 +96,7 @@ public class BPELInvoker implements Invoker { // // Fetch the service name from the service object - including the componentURI guarantees a unique service name String componentURI = component.getURI(); - bpelServiceName = new QName( "http://tuscany.apache.org", componentURI + service.getName() ); + bpelServiceName = new QName( Base.SCA11_TUSCANY_NS, componentURI + service.getName() ); bpelOperationInputPart = (Part) wsdlInterface.getPortType().getOperation(bpelOperationName,null,null).getInput().getMessage().getParts().values().iterator().next(); bpelOperationOutputPart = (Part) wsdlInterface.getPortType().getOperation(bpelOperationName,null,null).getOutput().getMessage().getParts().values().iterator().next(); |