GetOrder Service cannot be executed on behalf of another user, which is required in case of a CSR trying to access the pending cart of a customer. As of WCS 7.0 FEP6, below changes are required to make this work.
Step2 is something I am trying to explore more on, as it does not look like an appropriate solution for me. This can be used as a workaround.
Step1:
Add the below snippet in wc-component.xml of WC/xml/config/com.ibm.commerce.order or ideally under WC/xml/config/com.ibm.commerce.order-ext
<_config:authorization-configuration>
<_config:protectable-proxy br="" protectable="com.ibm.commerce.foundation.server.authorization.policymanager.ForUserProtectableProxy"> interfacename="com.ibm.commerce.Order.facade.datatypes.OrderType" />
Step2:
Load the below ACP
Test Request XML :
Rgds, Raj.
Step2 is something I am trying to explore more on, as it does not look like an appropriate solution for me. This can be used as a workaround.
Step1:
Add the below snippet in wc-component.xml of WC/xml/config/com.ibm.commerce.order or ideally under WC/xml/config/com.ibm.commerce.order-ext
<_config:authorization-configuration>
<_config:protectable-proxy br="" protectable="com.ibm.commerce.foundation.server.authorization.policymanager.ForUserProtectableProxy"> interfacename="com.ibm.commerce.Order.facade.datatypes.OrderType" />
Step2:
Load the below ACP
Test Request XML :
Rgds, Raj.
No comments:
Post a Comment