XML to XML transformation with wso2

£可爱£侵袭症+ 提交于 2019-12-02 06:25:01
Isuru Perera

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!