Besides CXF, Axis(1) and Axis2 both implement local transports. Googling "metro local transport" didn't turn up anything, so I guess Metro does not. Perhaps it's an Apache standard? :-) In any case, it's a great way of testing things as long as the stack uses the local transport as a true substitute for other transports (so does all the XML serialization, security processing, etc.).

 - Dennis


Glen Mazza wrote:
Oh, I've never heard of "local" transport--I see it here:
https://cwiki.apache.org/CXF20DOC/local-transport.html.  I guess I should
update my blog entry.  Is "local transport" just a CXF-specific thing or a
Java standard that other frameworks such as ServiceMix and Camel can use for
their testing?

Glen


Dennis Sosnoski wrote:
I think Brandon is trying to use the local transport, not HTTP transport with localhost.

The CXF test code uses local transport, though mainly with canned XML responses (for testing client) or requests (for testing server). I was able to make local transport work for testing between client and server by modifying the org.apache.cxf.jaxws.holder.HolderTest (from rt/frontend/jaxws/src/test) to first create the server and then connect the client:


Reply via email to