axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Weerasuriya <ros...@opensource.lk>
Subject Re: Handler API issues
Date Mon, 26 Jul 2004 13:36:16 GMT
Hi,

>The API does not appear to make provisions to allow a handler to obtain
> data from the client application.

>Is it likely that this feature will be implemented any time soon?

Yes, this has to be added to the Stub base class....... I will check and
try to add this.....

2. When a handler gets data from a header block, instead of laboriously
> parsing the resulting DOM tree, isn't it possible to simply "get" an
> element, complex or otherwise, similar to what
> "getHeaderBlock('element-name', 'namespace')" does? I don't think the
> handler API provides this right now, but it would make a very useful
> feature, IMHO, for future handler development efforts as well.

Yes I guess that would be a good idea. Will look for this as well.

Roshan




On Sun, 2004-07-25 at 22:39, Sharanka Perera wrote:
> Hi,
> 
> I'm working on a security handler for the Apache ws-fx project called wss4c.
> I have two questions regarding the current handler API:
> 
> 1. The API does not appear to make provisions to allow a handler to obtain
> data from the client application. For instace, if the client were to pass an
> username & password pair to the SOAP engine, the handler wouldn't be able to
> get it. Ideally, this should be facilitated in the following manner-
> 
> String sProVal1 = pIMsg-getProperty("username");
> String sProVal2 = pIMsg-getProperty("password");
> 
> 
> Is it likely that this feature will be implemented any time soon?
> 
> 2. When a handler gets data from a header block, instead of laboriously
> parsing the resulting DOM tree, isn't it possible to simply "get" an
> element, complex or otherwise, similar to what
> "getHeaderBlock('element-name', 'namespace')" does? I don't think the
> handler API provides this right now, but it would make a very useful
> feature, IMHO, for future handler development efforts as well.
> 
> Thanks,
> 
> Sharanka
> 
> 
> 


Mime
View raw message