axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <>
Subject Re: [Axis2] A method addition to TransportListener interface
Date Wed, 05 Mar 2008 10:11:35 GMT
Hi Sanka,

We can solve this problem without changing the API (I am bot reluctant 
to change the API now)  , so I am not going to +1 to this . How about 
passing the service name adding the endpoint name then we can just 
change the implementation not the API. As I can see you are generating 
the EPR with end point as follows

Then you can just pass the service name as "foo.endpointname"

> Hi,
> In order to facilitate message dispatching to AxisEndpoints which we 
> discussed few weeks back[1], any Axis2 transport should be able to 
> generate service endpoints which adhere the following format.
> http://[host]:[port]/axis2/services/[service-name].[endpoint-name]/
> This requires the following method addition to TransportListener 
> interface which enables the AxisEngine to pass targeted AxisEndpoint 
> name to Transport mechanism so that it can generate a URL which adhere 
> the above format.
> EndpointReference[] getEPRsForService(String serviceName, String 
> endpointName, String ip) throws AxisFault
> Any objections to add that method to TransportListener interface ?
> Thanks,
> Sanka
> [1] 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message