hi Fang
we've changed the code the following way:(taken from a sample to do version
routing)
Bus bus = CXFBusFactory.getDefaultBus();
ServerRegistry serverRegistry =
bus.getExtension(ServerRegistry.class);
List<Server> servers = serverRegistry.getServers();
Server targetServer = null;
for (Server server : servers) {
targetServer = server;
String address =
server.getEndpoint().getEndpointInfo().getAddress();
if (address.startsWith("local://")) break;
}
Destination destination = targetServer.getDestination();
Still we got the same error.
I guess am wrong. Would be helpful if you could provide more detail like
some code snippet.
thanks
prassie
--
View this message in context:
http://www.nabble.com/Exception-while-invoking-service-through-local-transport-in-CXF-tp21079062p21107420.html
Sent from the cxf-user mailing list archive at Nabble.com.