[ https://issues.apache.org/jira/browse/TUSCANY-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595167#action_12595167 ]
Ashwini Kumar Jeksani commented on TUSCANY-2301: ------------------------------------------------ ThreadRuntimeComponentContext.getRuntimeComponent() was returning null inspite of setting the the value from BPELInvoker. I tried changing this class then I was able to retrieve the value but nothing is happening further I think org.apache.tuscany.sca.implementation.bpel.ode.ODEMessageExchangeContext is incomplete. Any comments on this? > BPEL Invoke Problem > ------------------- > > Key: TUSCANY-2301 > URL: https://issues.apache.org/jira/browse/TUSCANY-2301 > Project: Tuscany > Issue Type: Bug > Components: Java SCA BPEL Implementation Extension > Affects Versions: Java-SCA-1.2 > Environment: Windows XP > Reporter: Ashwini Kumar Jeksani > Fix For: Java-SCA-Next > > > I am unable to invoke a webservice from the BPEL. > As I am unable to connect with svn I couldnt debug the complete code but I > could see that the tuscanyRuntimeComponent is null. > Could someone please check this and resolve the issue. > run: > [java] May 8, 2008 8:36:37 AM > org.apache.tuscany.sca.assembly.builder.impl.CompositeB > uilderImpl$1 problem > [java] WARNING: No targets for reference: ApprovalDataService > [java] Starting ApprovalBPELServiceComponent > [java] >>> Deploying : > E:\Tuscany\Tuscany1.2\tuscany-sca-1.2-incubating\working\Appro > valBPELComponent\target\classes > [java] >>> Activating MyRole Endpoint : > {http://com.infosys.poc.procurement.approval/ > ApprovalAsyncBPEL.bpel}ApprovalAsyncBPELProcess-1 - > {http://com.infosys.poc.procurement.ap > proval}ApprovalAsyncBPELService > [java] >>> Create PartnerRole channel : > {http://com.infosys.poc.procurement.approval/ > ApprovalAsyncBPEL.bpel}ApprovalAsyncBPELProcess-1 - > {http://approvaldata.procurement.poc.i > nfosys.com}ApprovalData - > {http://approvaldata.procurement.poc.infosys.com}ApprovalDataSer > vice > [java] >>> Activating MyRole Endpoint : > {http://com.infosys.poc.procurement.approval/ > ApprovalAsyncBPEL.bpel}ApprovalAsyncBPELProcess-1 - > {http://com.infosys.poc.procurement.ap > proval}ApprovalAsyncBPELService > [java] >>> Create PartnerRole channel : > {http://com.infosys.poc.procurement.approval/ > ApprovalAsyncBPEL.bpel}ApprovalAsyncBPELProcess-1 - > {http://approvaldata.procurement.poc.i > nfosys.com}ApprovalData - > {http://approvaldata.procurement.poc.infosys.com}ApprovalDataSer > vice > [java] >>> Set ThreadLocal with runtime component ! > [java] ::arg:::::: <?xml version="1.0" encoding="UTF-8"?> > [java] <ApprovalAsyncBPELRequest > xmlns="http://com.infosys.poc.procurement.approval"> > Hello</ApprovalAsyncBPELRequest> > [java] ::message:: <?xml version="1.0" encoding="UTF-8"?> > [java] <message><payload><ApprovalAsyncBPELRequest > xmlns="http://com.infosys.poc.proc > urement.approval">Hello</ApprovalAsyncBPELRequest></payload></message> > [java] >>> Invoking a partner operation: approveDataLoad > [java] tuscanyRuntimeComponent:: null -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.