Wso2Dss Box_Carring not working in WSO2esb4.8.0

后端 未结 2 1702
臣服心动
臣服心动 2021-01-23 01:17

I am working with wso2dss3.0.1 and wso2esb4.8.0.I wish to work with Transactions for that i enabled box_carying in wso2dss and its working fine.Means i wish insert the data into

2条回答
  •  情书的邮戳
    2021-01-23 02:17

    Your you are not doing your DSS operations in the same session.

    DSS uses the JSESSIONID cookie to identify sessions. You need to grab that cookie from the begin_boxcar call and in turn send the cookie along with the rest of the DSS calls that you wish to perform in the same transaction.

    Finally you will need to send the same cookie in the call to end_boxcar or abort_boxcar, whichever you end up calling.

    After your call to a begin_boxcar operation in a DSS service you can access the cookies set by the service through transport properties:

    
    

    After you have the cookie in a Synapse message context property you can use a scripting language such as Groovy or JavaScript to parse the actual value from the cookie.

    Any subsequent DSS calls that should be in the same boxcarring session must send the cookie to the DSS service. You can have Axis2 send the cookie by setting it to a transport property (analogous to HTTP headers in this case):

    
    

提交回复
热议问题