Unable to try service, due to WrappedRuntimeException

pmhofman's picture
Hello all, We are currently investigating if we can use WSO2 BPS. In the project I am trying to use existing WSDL and XSD files (I attached them, not listed). I have had all kinds op problems with importing XSD and WSDL in the BPEL plugin for eclipse. (used it like specified in the BPS quick start guide). When using subfolders in the project to store WSDLs and XSDs. Apparantly, the plugin has some troubles. Also, when generating a zip file using the WSO2 plugin, I only get deploy.xml, bpel file and artefacts wsdl in the zip file. I finally tried by simply zipping the project folder. That went a lot better. I am now able to upload the zip file (attached), but if I try the service, I get the following error: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: C:\WSO2BPS1\WSO2BP~1.1\CreditCheckService?xsd=General-V01.xsd (The filename, directory name, or volume label syntax is incorrect) More info is available in the attached log file. Best regards, Peter Hofman Software Architect Consulting & Professional Services _________________________________________ Logica - Releasing your potential Eemsgolaan 1 9727 DW Groningen The Netherlands T: +31 (0) 50 5219500 E: peter dot hofman at logica dot com www.logica.com Logica Nederland BV Registered office in Amstelveen, The Netherlands Registration Number Chamber of Commerce: 33136004
AttachmentSize
CreditCheckService.zip6.23 KB
wso2carbon.zip1.78 KB
pmhofman's picture

Looks like it is trying to

Looks like it is trying to access the xsd using CARBON_HOME (in other words, using a path) instead of the services URL https://wso2carbon:9445/services/
waruna's picture

Can you attach the process

Can you attach the process that cause this issue? So that we can look into the issue. Thanks, Waruna
milinda's picture

There are limitations in Eclipse plugin and Try-it

There are some limitations in Eclipse BPEL plugin and BPEL Exporter. Eclipse BPEL plugin is not actively maintained by the community and we also don't have resources dedicated for Eclipse BPEL plugin. AFAIK Netbeans BPEL editor is better than Eclipse one and it doesn't have issues you mentioned. The only problem with Netbeans is it don't have deploy.xml editor and BPEL exporter. But creating a deploy.xml is simple and you can just ZIP the code and deploy even if you don't have BPEL exporter. The problem you encountered when using try-it is caused by lack of support imported schema files in Try-it. Try-it component used in WSO2 BPS 1.0.1 doesn't support imported schemas. But you can always use tool like SOAP UI. Please feel free to ask any questions you have regarding this.
pmhofman's picture

attachment now listed

The attachment is now listed in the original posting. I refactored the entire project to not use folders at all. I did not know about the limitations of both the exporter and the try-it code. Yesterday I already switched to NetBeans 6.5.1 as included in GlassFish 2.1. Is there any chance, that: 1) WSO2 will support NetBeans in the future as development environment? 2) the try-it code will support imported XSDs 3) if so, will it also support WSDLs and XSDs imported from the registry? Regards, Peter
waruna's picture

I went through your BPEL

I went through your BPEL process, and found few issues 1. missing attribute createInstance="yes" in the receive activity 2. missing namespace xmlns:cc="http://www.logica.com/spyglass/creditcheck/v01" in CreditCheckServiceProcessArtifacts.wsdl 3. Wrong .xsd filename CreditCheck-v01.xsd in CreditCheckService-V01.wsdl (This may work if your file system is case insensitive) The fixed process is attached herewith. I invoke the process with soapui, and it works fine. Thanks Waruna
pmhofman's picture

import of xsd and wsdl not always working

thanks Waruna, 1) I did not know that it is mandatory. 2) The missing namespaces may be caused by some problems with the BPEL plug-in in Eclipse. I found that sometimes importing wsdls and xsds is not working. I have had other problems with the BPEL plug-in as well. I now use NetBeans. 3) I use windows file system. thanks, Peter
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)