Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] Need help for making the BPEL process through Eclipse BPEL Designer

Hello Mr Wang,

According to the error message, it looks like the output variable has not been initialized. Make sure you use an Assign activity to create a valid XML literal that initializes the variable structure. For the HelloWorld process, it should probably look something like this:

        <bpel:assign validate="no" name="FIX_ME-Add_Business_Logic_Here">
            <bpel:copy>
                <bpel:from>
                    <bpel:literal>
                        <tns:HelloWorldResponse xmlns:tns="http://eclipse.org/bpel/sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><tns:result>tns:result</tns:result>

                        </tns:HelloWorldResponse>
                    </bpel:literal>
                </bpel:from>
                <bpel:to variable="output" part="payload"></bpel:to>
            </bpel:copy>
            <bpel:copy>
                <bpel:from part="payload" variable="input">
                    <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
                        <![CDATA[tns:input]]>
                    </bpel:query>
                </bpel:from>
                <bpel:to part="payload" variable="output">
                    <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[tns:result]]></bpel:query>
                </bpel:to>
            </bpel:copy>
        </bpel:assign>


_______________________________________
Robert ("Bob") Brodt
Senior Software Engineer, JBoss Riftsaw
JBoss by Red Hat


Hello,
I am trying to make a BPEL process through Eclipse BPEL designer with Apache ODE by refeering to a pdf tutorials titled "Developing, Deploying and Running a 
Hello World BPEL Process with the Eclipse BPEL Designer and Apache ODE". The BPEL process model is succsefully modeled. Unfortunately, when I test it with 
web service explorer in Eclipse, it returns the following message:
"09:02:50,210 ERROR [REPLY] org.apache.ode.bpel.common.FaultException: The variable output isn't properly initialized"
The programming environment is:
           Eclipse         : Helios Service Release 2 Build id: 20110218-0911
           ODE             :Apache ODE 1.3.5
           Java:           :1.6.0_23
           Tomcat          :5.5.26
           Operating system: Windows 7
In addition, after installation of the BPEL designer through CVS repository, there are problems shown in the marker view which are listed in the appendix.
     Does anyone have any idea what I am doing wrong?
     Many thanks in advance,
--
                    Wei WANG              
                    associate professor 
                    mkwang@xxxxxxxxxx   
 
 
********************************************************************
Appendix of the problems shown in the Eclipse marker view after the installation of the BPEL Designer through CVS repository.
(1)BPEL validation marker (1 item)
"Copy rule not checked - from-spec type-of "unspecified", to-spec type-of "<complexType>". HelloWorld.bpel /SimpleProcess/bpelContent line 60 BPEL 
Validation Marker"
(2)java build path problems(1 item)
"Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment. 
org.eclipse.bpel.examples.extensionPoints Build path JRE System Library Problem"
(3)Java Probles(2922 items)
"ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized ActionImplementationSection.java
/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties line 65 Java Problem"
"ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized BPELDecorationLayout.java
/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editparts/util line 26 Java Problem"
"ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized BPELEditorUtil.java
/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/util line 69 Java Problem"
"ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized BPELEditorUtil.java
/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/util line 149 Java Problem"
"ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized BPELUIRegistry.java
/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/extensions line 272 Java Problem"
(4)plug in problesm(9 items)
"A minimum of 1 'preset' elements must be specified. plugin.xml /org.eclipse.bpel.runtimes line 91 Plug-in Problem"
"A minimum of 1 'runStrategy' elements must be specified. plugin.xml /org.eclipse.bpel.validator line 45 Plug-in Problem"
"Access to referenced class 'org.eclipse.jdt.internal.ui.javaeditor.BasicJavaEditorActionContributor' in attribute 'contributorClass' is discouraged
plugin.xml /org.eclipse.bpel.examples.extensionPoints line 33 Plug-in Problem"
"Access to referenced class 'org.eclipse.jst.server.core.internal.RuntimeClasspathProvider$Factory' in attribute 'class' is discouraged plugin.xml
/org.eclipse.bpel.apache.ode.runtime line 64 Plug-in Problem"
"Access to referenced class 'org.eclipse.jst.server.ui.internal.RuntimeLabelProvider$Factory' in attribute 'class' is discouraged plugin.xml
/org.eclipse.bpel.apache.ode.runtime line 88 Plug-in Problem"
"Element 'componentimpl' is not legal as a child of element 'extension'. plugin.xml /org.eclipse.bpel.runtimes line 108 Plug-in 
Problem"
"Element 'facet' is deprecated plugin.xml /org.eclipse.bpel.validator line 46 Plug-in Problem"
"Illegal attribute 'point' plugin.xml /org.eclipse.bpel.examples.extensionPoints line 44 Plug-in Problem"
"Illegal attribute 'point' plugin.xml /org.eclipse.bpel.ui line 629 Plug-in Problem"
(5)XML problems(1 item)
"No grammar constraints (DTD or XML schema) detected for the document. deploy.xml /SimpleProcess/bpelContent line 1 XML Problem"
********************************************************************************
2011-05-01

王伟

_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev


Back to the top