Author: slaws
Date: Thu Aug  7 08:32:40 2008
New Revision: 683630

URL: http://svn.apache.org/viewvc?rev=683630&view=rev
Log:
Some debug to start looking at what's going wrong with the BPEL validation test 
in the continuum machine. Will be removed shortly

Modified:
    
tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java

Modified: 
tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java?rev=683630&r1=683629&r2=683630&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
 (original)
+++ 
tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java
 Thu Aug  7 08:32:40 2008
@@ -213,7 +213,13 @@
         BPELProcessDefinition theProcess = impl.getProcessDefinition();
         List<BPELPartnerLinkElement> partnerLinks = 
theProcess.getPartnerLinks();
         
+        // TODO - debugging the continuum build
+        System.out.println("XXXX BPEL Processing partner links");
+        
         for( BPELPartnerLinkElement pLink : partnerLinks ) {
+            // TODO - debugging the continuum build
+            System.out.println("XXXX BPEL Partner link name " +  
pLink.getName());
+            System.out.println("XXXX BPEL Partner link toString() " +  
pLink.toString());
                // check that the partner link has been designated as service 
or reference in SCA terms
                if ( pLink.isSCATyped() ) {
                        String SCAName = pLink.getSCAName(); 
@@ -253,10 +259,16 @@
         WSDLInterfaceContract interfaceContract = 
wsdlFactory.createWSDLInterfaceContract();
         reference.setInterfaceContract(interfaceContract);
         
+        // TODO - debugging the continuum build
+        System.out.println("XXXX BPEL Reference name: " + name);
+        
         // Establish whether there is just a call interface or a call + 
callback interface
         PortType callPT = null;
         PortType callbackPT = null;
         if( myRolePT != null ) {
+            // TODO - debugging the continuum build
+            System.out.println("XXXX BPEL Reference myRolePT.toString(): X" + 
myRolePT.toString() + "X");
+            System.out.println("XXXX BPEL Reference myRolePT qname: X" + 
myRolePT.getQName() + "X");
                callPT = myRolePT;
                // If the 2 port types are not the same one, there is a 
callback...
                if( partnerRolePT != null ) {
@@ -265,6 +277,9 @@
                        } // end if
                } // end if
         } else if ( partnerRolePT != null ) {
+            // TODO - debugging the continuum build
+            System.out.println("XXXX BPEL Reference partnerRolePT.toString(): 
X" + partnerRolePT.toString() + "X");
+            System.out.println("XXXX BPEL Reference partnerRolePT qname: X" + 
partnerRolePT.getQName() + "X");
                callPT = partnerRolePT;
         } // end if
         // No interfaces mean an error - throw an exception
@@ -331,10 +346,17 @@
         // Set the name of the service to the supplied name 
         service.setName(name);
         
+        // TODO - debugging the continuum build
+        System.out.println("XXXX BPEL Reference name: " + name);
+        
         // Establish whether there is just a call interface or a call + 
callback interface
         PortType callPT = null;
         PortType callbackPT = null;
         if( myRolePT != null ) {
+            // TODO - debugging the continuum build
+            System.out.println("XXXX BPEL Service myRolePT.toString(): X" + 
myRolePT.toString() + "X");
+            System.out.println("XXXX BPEL Service myRolePT qname: X" + 
myRolePT.getQName() + "X");
+
                callPT = myRolePT;
                // If the 2 port types are not the same one, there is a 
callback...
                if( partnerRolePT != null ) {
@@ -343,6 +365,10 @@
                        } // end if
                } // end if
         } else if ( partnerRolePT != null ) {
+            // TODO - debugging the continuum build
+            System.out.println("XXXX BPEL Reference partnerRolePT.toString(): 
X" + partnerRolePT.toString() + "X");
+            System.out.println("XXXX BPEL Reference partnerRolePT qname: X" + 
partnerRolePT.getQName() + "X");
+
                callPT = partnerRolePT;
         } // end if
         // No interfaces mean an error - throw an exception


Reply via email to