Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] About Assign's fixed value

Hi,bob
     I have used the lasted version of Eclipse BPEL Designer(June 9) and previous versions. When i want to set the Assign activity's property, just as set Fixed value to output variable. But it can't pop up the dialog box to ask you if want to initialize the output variable,and when run the process instance , it turn wrong, the message as follows:
  

          “The content of the body cannot be displayed in the form view. Please switch to the source view to examine the raw content. ”

   

     If i set  the property as this step, it will be work well: First set variable to variable;then click "yes" in the  pop up dialog box which ask you if want to initialize the output variable;and then delete the "variable to variable" in the list; Finally, click the "Fixed Value to Variable" in the list ,and modify the XML as follows,and select from "Fixed Value" to "output-payload":

 

modify this:   

    <tns:IfTestResponse xmlns:tns="http://sample.bpel.org/bpel/sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <tns:result>tns:result</tns:result>
     </tns:IfTestResponse>

To:

  <tns:IfTestResponse xmlns:tns="http://sample.bpel.org/bpel/sample" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><tns:result>Hello</tns:result>
  </tns:IfTestResponse>
                            

    Is it the right way to set the Fixde Value?Thanks a lot .
 
 
--
WIsh you happy veryday :)
 
                               Joy

Back to the top