3 Replies Latest reply: Apr 9, 2014 5:01 PM by 1034327 RSS

    BPEL2.0 Java Embedding compile issue

    1034327

      When Java Embedding activity been included in the Bpel2.0 process ,Java is not been compiled.It's been build successfully and during the deployment it throws an error as below.

       

      But when we use the Java code in BPEL1.1 it compiles and throws an error.

       

      On the below code havent added ; at the end of the string statement.It suppose to throw an error but compiled successfully.

       

      Pls let me know if anyone is facing this kind of issue.

       

      Error during deployment

       

      Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 401

      [05:05:12 PM] Error deploying archive sca_TestBPEL2.0_rev1.0.jar to partition "default" on server dv_soa_server1 [http://ampsoadv-XXXX:8001]

      [05:05:12 PM] HTTP error code returned [401]

      [05:05:12 PM] No error message is returned from the server.

       

      Bpel Code:(";"  is missing on the string)

       

      <extensionActivity>

                  <bpelx:exec name="Java_Embedding1" language="java">

                      <![CDATA[/*Write your java code below e.g. 

        System.out.println("Hello, World");

      */

      String assetType="home page"

       

      ]]>

                  </bpelx:exec>

              </extensionActivity>