CXF Method Not Found When Further Annotated
When using CXF and the JAXWS annotations to publish web services, like this:
@WebService(targetNamespace = "http://blah")
public class ClientData {
@WebMethod
public String getSomething() {
return something;
}
}
you can experience problems if you annotate the web service methods with something that spring-aop needs to process. Like when using perf4js nice @Profiled [...]
December 3, 2009
Tags: aspect, cxf, spring, spring-aop, ws Posted in: Programming
No Comments
Making CXF Log RuntimeExceptions From Server Implementations
Here is a bit more on CXF logging.
If you are using CXF to host web-service implementations (as opposed to using CXF as a client to consume web services with), you might wanna know about any un-caught RuntimeExceptions, your server-side implementation is throwing. CXF already catches and logs this for you, before sending them back as [...]
February 28, 2008
Tags: cxf, Java, log4j Posted in: Programming
No Comments
Viewing Inbound and Outbound Messages in CXF
When using CXF either as a client or to serve services, you can quickly get the wish to view the raw inbound and outbound messages sent and received. Turns out, it is rather easy to enable this. There are various ways to enable this, ranging from a pure programmatic approach, to various forms of configuration. [...]
January 30, 2008
Tags: cxf, Java, logging Posted in: Programming
One Comment
Configuring CXF Logging To Go Through Log4J
Apparently, CXF has chosen the JSE logging API as their API against logging. But you can make CXF log through Log4J quite easily. In the org.apache.cxf.common.logging package of the CXF apidocs, I found the Log4JLogger class, which is a specialization of the JSE logging api java.util.logging.Logger class, delegating logging to a Log4J implementation.
Configuring Log4J in [...]
January 30, 2008
Tags: cxf, Java, log4j, logging Posted in: Programming
4 Comments
