Hi,
Again, as servicemix-cxf jbi component is Apache Servicemix project,
so please reply to servicemix users maillinglist, the address is [email protected]
.
My other comment inline
On 2011-12-15, at 上午11:43, raakula wrote:
Hi Freeman,
Thanks for the quick response. And I thought SMX is packaging CXF
directly. So posted the Qs to CXF forum.
Coming to the issues -->
1. Did your client SOAPUi also configure the SSL support?
Ramu>> Yes, I have configured TLS setting in SOAPUi project also.
But no
luck. Probably I will try to use the sample testcases for my testing.
2. For the second question on adding interceptors
You can basically write a customer interceptor and add it to
servicemix-cxf-bc to do so.
Ramu >> I tried to write custom interceptor with constructor as below
public CXFHanlderInterceptor() {
super (Phase.RECEIVE);
System.out.println("<<<<<<<<<<<<<<<<<<<<<<INSIDE
CONST>>>>>>>>>>>>>>>>>>>");
//getBefore().add(CertConstraintsInterceptor.class.getName());
getBefore().add(PolicyInInterceptor.class.getName());
}
@Override
public void handleMessage(Message message) {
LOG.debug("I AM ALSO WORKING....");
System.out.println("<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>");
}
@Override
public void handleFault(Message messageParam)
{
try{
System.out.println("<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>");
LOG.debug("I TOOOO AM WORKING....");
}
catch (Exception e)
{
System.out.println("<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>");
LOG.debug("I TOOOO AM WORKING....");
}
}
In case of HandShake faiulre, I couldn't see any of my statemets.
Wondering
what could be the correct Phase and the exact Interceptor before
which my
custom Interceptor need to be invoked.
That's weird, could you ensure you enable DEBUG level log for your
interceptor, as you're using SMX 3.3.2,there's a log4j.xml in conf
folder.
Or you can simply use System.out.println(...) in this case, just
ensure your interceptor is added correctly.
3 CRL -->
Right now we are using SMX 3.3.2 and don't have immediate plans to
migrate
to 4.x. But planning to migrate to SMX 3.4 once it's available.
Would it be
so that SMX 3.4 also contain CRL support? i.e supports WSS4j1.6.1
SMX3.4 and SMX4.4 is in VOTE now.
For SMX4.4 we use wss4j 1.6.3 which have CRL support.
But SMX3.4 the component still embed wss4j 1.6.0, I will fix it soon,
but I'm not sure it's a show stopper, as JBI is kind of deprecated and
we suggest users try with SMX4.x for a long time and almost all our
endeavor focus on SMX4.x, anyway community will make this decision.
Freeman
Thanks in advance and regards,
Ramu
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-TLS-configuration-tp5071021p5076439.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com