axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Kettler <>
Subject Registering custom transports
Date Fri, 08 Jul 2005 13:21:01 GMT

we are currently developing a custom transport for Axis 1.2, using the
JXTA peer framework.

We already figured out how to add a transport (along with the
appropriate sender class) to the EngineConfiguration and have
successfully registered a custom protocol (jxta://...).

However, at some point it seems to be necessary to do something like:

(step 1)
Call.setTransportForProtocol("jxta", JXTATransport.class);

and later on

(step 2)
_call.setTransport(new JXTATransport());

on the concrete call instance.

Is there a way to let Axis figure out automatically which transport to
use, depending on the given endpoint URL, making at least the second
step obsolete? Furthermore, can step 1 be done via the engine
configuration (a WSDD, that is)? All examples seem to set this in the
source code...

Thanks in advance.

Tim Kettler

View raw message