XML to XML transformation with wso2

前端 未结 1 346
北恋
北恋 2021-01-24 18:20

I am using wso2 esb 4.8.1. I am trying to do xml to xml transformation with the help of smooks mediator but I am getting following exception when is hit request from the try it

1条回答
  •  迷失自我
    2021-01-24 19:09

    I didn't go through your example thoroughly, but it seems the error is that the Smooks Mediator cannot find the registry resource.

    Looks like there is an issue when you specify the smooks config-key attribute. When you are working with the registry, you need to know that there are different registry spaces.

    If you refer a resource via "gov:", the resource will be in "/_system/governance". You need to use "conf:" to refer a resource in "/_system/config".

    For eg: If you have a resource in "/_system/config/transforms/smooksconfig.xml", you need to refer it as follows:

    "conf:transforms/smooksconfig.xml"

    Related question: Howto access registry in WSO2 ESB

    I hope this helps.

    0 讨论(0)
提交回复
热议问题