Hi,
If you are try use the customer invokers[1], you can use the JAXWS API
which is used by default in generate server code of WSDL2java.
You can use the JaxWsServerFactoryBean[2] to create the service and set
the invoker yourself.
[1]http://cxf.apache.org/docs/invokers.html
[2]http://cxf.apache.org/javadoc/latest/org/apache/cxf/jaxws/JaxWsServerFactoryBean.html
On 3/1/11 12:40 AM, eaudet wrote:
Hi,
Is it possible to call the interceptor chain from a pojo? I want Apache CXF
to process my soap messages in non-server context. In other words, I want to
use CXF un/marshalling power but without calling a webservice enpoint. I am
reading about custom invokers. Am i reading the good thing?
What I have from using wsdl2java tool is:
Web service Consumer -> Enpoint -> Interceptor chain ->....
What I want (no jetty or other web server):
Pojo -> Interceptor chain ->.....
Thanks,
- Erick
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang