Looking at the code, the proxy that I get does not implement a CXF
proprietary interface that would allow me to configure that proxy. Is
there perhaps another way to programatically configure that proxy.
The only way I found is pure proprietary and does not use the jaxws
standard API
ClassPathXmlApplicationContext context = new
ClassPathXmlApplicationContext(
new String[]{"my/path/to/client-beans.xml"});
HelloWorld client = (HelloWorld)context.getBean("client");
String response = client.sayHi("Dan");
cheers
-thomas
Thomas Diesler wrote:
Thanks Sergey.
Do you know how I would do this in an elegant way?
The policy engine would need to be enabled per test case?
(i.e. I cannot have a global config that contains <p:engine
enabled="true">)
cheers
-thomas
Sergey Beryozkin wrote:
Hi
I think you may need to explicitly enable a policy engine for this to
happen. There's a JIRA for making sure a policy engine gets
automatically enabled on encountering the policy expressions
Cheers, Sergey
Hi Folks,
do we have documentation on how to use WS-RM on the client side
except for http://cwiki.apache.org/CXF20DOC/wsrmconfiguration.html
If a client proxy is build from a wsdl containing RM related policy,
is that proxy supposed to contain the client side interceptors and
therefore speak the RM protocol automatically?
This is described in more detail in
https://issues.apache.org/jira/browse/CXF-1311
If you agree, I would update the wiki with the results of this thread.
cheers
-thomas
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx