You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "RANADEEP SHARMA (JIRA)" <ji...@apache.org> on 2017/08/01 19:50:00 UTC
[jira] [Created] (CXF-7463) No evaluation for spring expression as
value for 'address' attribute in
RANADEEP SHARMA created CXF-7463:
------------------------------------
Summary: No evaluation for spring expression as value for 'address' attribute in <jaxws:client />
Key: CXF-7463
URL: https://issues.apache.org/jira/browse/CXF-7463
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 3.1.12, 3.1.10
Environment: 1) Apache Tomcat 7.0.54
2) JDK 1.7.0_80
3) Exception trace captured during invocation of the SOAP service attached.
Reporter: RANADEEP SHARMA
Following is the config that's no longer evaluating the SPEL expression. I have also tried with '$' prefix instead of '#', but same issue.
<jaxws:client id="setItPullServiceClient"
serviceClass="xyz.app.ws.stubs.setit.pull.PullDataImpl"
address="#{setit.pull.service.uri:http://enter.valid.setit.pull.service.uri/}" />
And for enabling value substitution for SPEL expressions from properties file, we have the following.
<context:property-placeholder location="file:${refApp.prop.location:.}/${refApp.app.id}.properties , file:${refApp.prop.location:.}/${refApp.app.id}-secure.properties"
system-properties-mode="OVERRIDE"
ignore-unresolvable="true"
ignore-resource-not-found="true"
order="1"/>
I am not able to get a clue on what's preventing the evaluation of the expression.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)