bildwelt
E2E FORUM
E2E Bridge E2E Commerce

How can I delete all persistent state objects via script ?

E2E Forum General Discussion How can I delete all persistent state objects via script ?

This topic contains 1 reply, has 2 voices, and was last updated by  Marcel R. 4 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #429

    Andi
    Moderator

    Is there a way to delete all the objects in the persistent state database via script ?

    #430

    Marcel R.
    Blocked

    You need a input file called reset.xml with the content

    <?xml version=”1.0″ encoding=”UTF-8″?>

    <pstate><action>reset</action></pstate>

    In the above example you have to adjust the path to your service. The working directory must be in the directory where the file reset.xml is.

    Windows:

    c:E2E_BRIDGE_DATAbridge_PurchaseOrderExamplebine2ecommand.bat c:E2E_BRIDGE_PROG < reset.xml

    Unix:

    /opt/e2e_bridge_data/bridge_PurchaseOrderExample/bin/e2ecommand.sh /opt/e2e_bridge_prog < reset.xml

    If everything went fine you get the answer

    <?xml version=”1.0″ encoding=”utf-8″?>
    <PState><Status>OK</Status></PState>

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.