axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathew, Jose" <>
Subject RE: [Axis2] client-side handlers for multicasting soap via udp
Date Tue, 27 Sep 2005 16:07:31 GMT
I think you can insert a handler in the out-flow at the client side using
client side handlers.. 
Assuming using the Axis client API,

org.apache.axis.configuration.FileProvider config = new
org.apache.axis.client.Service service = new
org.apache.axis.client.Call _call = (org.apache.axis.client.Call)

And MyHandler.wsdd is:

<deployment xmlns="" 
   <!-- define the client Signing handler configuration -->
   <handler type="java:com.onions.eai.util.MyHandler"/>
   <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
    <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
 <transport name="http"

And  com.onions.eai.util.MyHandler is:

public class MyHandler extends org.apache.axis.handlers.BasicHandler {

	public MyHandler() {

	/* (non-Javadoc)
	 * @see
	public void invoke(MessageContext context) {

		// Your code to handle out going request


Does that help your scenario? You can insert a handler in the <responseFlow>
also, if you need.


-----Original Message-----
From: Andreas Bobek [] 
Sent: Tuesday, September 27, 2005 10:21 AM
Subject: [Axis2] client-side handlers for multicasting soap via udp


I intend to implement WS-Discovery for Axis. For that purpose I need the
ability to send SOAP messages via UDP as multicast messages as defined in
the WS-Discovery specification.
Unfortunately, Axis allows unicast only. Furthermore WS-Discovery uses URIs
(instead of limited URLs) for the wsa:To addressing header, which are mapped
to IP addresses at a later stage. That's why I need a possibility to step in
the "out flow".

There is a description at the Axis2 site how to accomplish this for
server-side processing (using handlers or modules), but I need it for
client-side processing as well.
I searched this list and found some similar posts, but no answers.

How can I intervene the client-side processing?

Thanks in advance, Andreas Bobek.

View raw message