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:[email protected]] Sent: Wednesday, September 17, 2014 11:37 AM To: Akila Nimantha [IT/EKO/LOITS] Cc: [email protected] 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] <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> 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<http://wso2.com/> blog: thiliniishaka.blogspot.com<http://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 [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
