Thanks, jaikiran.
I also realized this is the expensive operation as you said. We changed like this just to make it work with jbossws-cxf.-4.2.0.Beta1 which is included in wildfly8. In the next jbossws-cxf release, I'll change jbossws-cxf to directly use getEndpoint(ObjectName) to retrieve the ws endpoint , and this is already done in jbossws-cxf-4.2-snapshot: https://source.jboss.org/changelog/JBossWS?cs=17645
https://source.jboss.org/changelog/JBossWS?cs=17647