Re: [Dev] schema error in uploading a process to the BPS
Hi thilini, But my issue is it is not initializing at the copy operation. When I assign, it is not popping up a dialog box asking me to variable initiation. Therefore I get the following error. [cid:image001.png@01CFD338.B8BF0730] Is it a namespace issue in the wsdl file or in the BPEL process? (I used the updated wsdl file which you have sent) Regards, Akila From: Thilini Ishaka [mailto:thil...@wso2.com] Sent: Thursday, September 18, 2014 11:21 AM To: Akila Nimantha [IT/EKO/LOITS] Cc: dev@wso2.org Subject: Re: [Dev] schema error in uploading a process to the BPS Hi Akila, Please check the first assignment activity configuration in the bpel process. Variable initialization is missing there. Thanks Thilini On Thu, Sep 18, 2014 at 9:39 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.commailto:aki...@lolctech.com wrote: Hi Thilini, I tried a new BPEL process with your modified wsdl file (CReadLegacy.wsdl). But it is not initializing at the Input to request assign. The following error occurred in the BPEL [cid:image001.png@01CFD338.B8BF0730] Herewith I have attached my BPEL process for you reference And also CReadLegacy.wsdl is a working rule service. Regards, Akila Hi Akila, CReadLegacy.wsdl seems to be invalid. Herewith attached the modified wsdl file and the bpel (containing the updated wsdl). Thanks Thilini On Tue, Sep 16, 2014 at 11:25 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.commailto:aki...@lolctech.com wrote: Hi all, I am trying to invoke BRS service from BPEL and when I upload the process to the BPS, it gives following error in my BPS log. Also I searched in the internet and I couldn’t find any solution for this…(but kind of similar question in stackoverflow and they say to change xml schema. But couldn’t figure out how to apply it to my situation. ) Also I attached BRS wsdl file and BPEL Process. Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s): file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl:0: error: [SchemaError] Error in schema processing: src-resolve.4.2: Error resolving component 'ax2493:InitRule'. It was detected that 'ax2493:InitRule' is in namespace 'http://lolc.com/initrule', but components from this namespace are not referenceable from schema document 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'ax2493:InitRule' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:815) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:278) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:364) at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:221) at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:218) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:177) at org.wso2.carbon.bpel.ui.fileupload.BPELUploadExecutor.validateBPELPackage(BPELUploadExecutor.java:292) ... 38 more Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.orgmailto:Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone: +94 11 214 5345 WSO2 Inc. http://wso2.comhttp://wso2.com/ blog: thiliniishaka.blogspot.comhttp://thiliniishaka.blogspot.com/ linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that
Re: [Dev] schema error in uploading a process to the BPS
Hi Thilini, Thanks for your instant reply and Now it works fine ☺ . But I didn’t change anything in CReadLegacy.wsdl and just got a copy from BRS ☹. It seems problem with wsdl : definition namespaces. Are there specially things to do when creating services in BRS to overcome this in future ?? (or should I write definition namespaces myself.) Regards, Akila From: Thilini Ishaka [mailto:thil...@wso2.com] Sent: Wednesday, September 17, 2014 11:37 AM To: Akila Nimantha [IT/EKO/LOITS] Cc: dev@wso2.org Subject: Re: [Dev] schema error in uploading a process to the BPS Hi Akila, CReadLegacy.wsdl seems to be invalid. Herewith attached the modified wsdl file and the bpel (containing the updated wsdl). Thanks Thilini On Tue, Sep 16, 2014 at 11:25 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.commailto:aki...@lolctech.com wrote: Hi all, I am trying to invoke BRS service from BPEL and when I upload the process to the BPS, it gives following error in my BPS log. Also I searched in the internet and I couldn’t find any solution for this…(but kind of similar question in stackoverflow and they say to change xml schema. But couldn’t figure out how to apply it to my situation. ) Also I attached BRS wsdl file and BPEL Process. Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s): file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl:0: error: [SchemaError] Error in schema processing: src-resolve.4.2: Error resolving component 'ax2493:InitRule'. It was detected that 'ax2493:InitRule' is in namespace 'http://lolc.com/initrule', but components from this namespace are not referenceable from schema document 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'ax2493:InitRule' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:815) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:278) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:364) at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:221) at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:218) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:177) at org.wso2.carbon.bpel.ui.fileupload.BPELUploadExecutor.validateBPELPackage(BPELUploadExecutor.java:292) ... 38 more Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.orgmailto:Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone: +94 11 214 5345 WSO2 Inc. http://wso2.comhttp://wso2.com/ blog: thiliniishaka.blogspot.comhttp://thiliniishaka.blogspot.com/ linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] schema error in uploading a process to the BPS
Hi Akila, On Wed, Sep 17, 2014 at 12:39 PM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi Thilini, Thanks for your instant reply and Now it works fine J . But I didn’t change anything in CReadLegacy.wsdl and just got a copy from BRS L. It seems problem with wsdl : definition namespaces. Are there specially things to do when creating services No manual steps. It should work OOTB. Need to check your rule service to provide an exact answer for this. in BRS to overcome this in future ?? (or should I write definition namespaces myself.) Regards, Akila *From:* Thilini Ishaka [mailto:thil...@wso2.com] *Sent:* Wednesday, September 17, 2014 11:37 AM *To:* Akila Nimantha [IT/EKO/LOITS] *Cc:* dev@wso2.org *Subject:* Re: [Dev] schema error in uploading a process to the BPS Hi Akila, CReadLegacy.wsdl seems to be invalid. Herewith attached the modified wsdl file and the bpel (containing the updated wsdl). Thanks Thilini On Tue, Sep 16, 2014 at 11:25 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: *Hi all,* I am trying to invoke BRS service from BPEL and when I upload the process to the BPS, it gives following error in my BPS log. Also I searched in the internet and I couldn’t find any solution for this…(but kind of similar question in stackoverflow and they say to change xml schema. But couldn’t figure out how to apply it to my situation. ) Also I attached BRS wsdl file and BPEL Process. Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s): file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl:0: error: [SchemaError] Error in schema processing: src-resolve.4.2: Error resolving component 'ax2493:InitRule'. It was detected that 'ax2493:InitRule' is in namespace 'http://lolc.com/initrule', but components from this namespace are not referenceable from schema document 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'ax2493:InitRule' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:815) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:278) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:364) at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:221) at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:218) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:177) at org.wso2.carbon.bpel.ui.fileupload.BPELUploadExecutor.validateBPELPackage(BPELUploadExecutor.java:292) ... 38 more Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone: +94 11 214 5345 WSO2 Inc. http://wso2.com blog: thiliniishaka.blogspot.com linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone:
Re: [Dev] schema error in uploading a process to the BPS
Hi Akila, Please check the first assignment activity configuration in the bpel process. Variable initialization is missing there. Thanks Thilini On Thu, Sep 18, 2014 at 9:39 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: Hi Thilini, I tried a new BPEL process with your modified wsdl file (CReadLegacy.wsdl). But it is not initializing at the Input to request assign. The following error occurred in the BPEL Herewith I have attached my BPEL process for you reference And also CReadLegacy.wsdl is a working rule service. Regards, Akila Hi Akila, CReadLegacy.wsdl seems to be invalid. Herewith attached the modified wsdl file and the bpel (containing the updated wsdl). Thanks Thilini On Tue, Sep 16, 2014 at 11:25 AM, Akila Nimantha [IT/EKO/LOITS] aki...@lolctech.com wrote: *Hi all,* I am trying to invoke BRS service from BPEL and when I upload the process to the BPS, it gives following error in my BPS log. Also I searched in the internet and I couldn’t find any solution for this…(but kind of similar question in stackoverflow and they say to change xml schema. But couldn’t figure out how to apply it to my situation. ) Also I attached BRS wsdl file and BPEL Process. Caused by: org.apache.ode.bpel.compiler.api.CompilationException: error: [CompilationErrors] Compilation completed with 1 error(s): file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl:0: error: [SchemaError] Error in schema processing: src-resolve.4.2: Error resolving component 'ax2493:InitRule'. It was detected that 'ax2493:InitRule' is in namespace 'http://lolc.com/initrule', but components from this namespace are not referenceable from schema document 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'ax2493:InitRule' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/u01/jb/wso2bps-3.2.0/tmp/work/bpelTemp/1.4108449590014995E12/HowToDo_1.0.0/CReadLegacy.wsdl'. at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:815) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:278) at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:364) at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:221) at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:218) at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:177) at org.wso2.carbon.bpel.ui.fileupload.BPELUploadExecutor.validateBPELPackage(BPELUploadExecutor.java:292) ... 38 more Regards, Akila This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone: +94 11 214 5345 WSO2 Inc. http://wso2.com blog: thiliniishaka.blogspot.com linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone: +94 11 214 5345 WSO2 Inc. http://wso2.com blog: thiliniishaka.blogspot.com linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh This message (including any attachments) is intended