Hi Nandana,

   I have tried in the same way, how you have dont. But stil i am getting
the same error. I have attached the outflowhandler, inflowhandler,
module.xml and service.xml. I have  rampart engageand custom module engaged
in my client program also. 

soni swapna wrote:
> 
> Hi Nandana, 
> 
>     Yes, i am doing the similar thing. I am using Axis2 1.4 and Rampart
> 1.3. In I am adding the headers in custom module's Outflow handler, then
> it goes to rampart and  custom modules inflow handler gets executed. and
> in this i am reading header tags added in outflow handler. But no header
> tags are coming. I have custom module and rampart module engage both at
> client and service side.
> 
> Thanks,
> Swapna Soni.
> 
> Nunny wrote:
>> 
>> Hi,
>>    I have done a very similar thing for testing encrypted/signed headers
>> and
>> I didn't face any issues. In this test, I used a module [1] which inserts
>> some headers to the SOAP messages in the out flow and used the same
>> module
>> to log them in the in flow. And I encrypted/signed those custom headers
>> added by the module using Rampart. I have tested this with Axis2 1.4 /
>> Rampart 1.4 and Axis2 1.5 / Rampart trunk without any problem. If I
>> understood correct, you seem to be doing a similar thing.
>>     What is the Axis2 version and Rampart version you are using ? Are you
>> encrypting the custom headers added by your module. Can you attach a
>> sample
>> message on the transit ?
>> 
>> regards,
>> Nandana
>> 
>> [1] -
>> https://svn.apache.org/repos/asf/webservices/rampart/scratch/java/test-module/READ_ME.txt
>> 
>> On Thu, Aug 27, 2009 at 4:36 PM, soni swapna <[email protected]> wrote:
>> 
>>>
>>> Hi Axis Team,
>>>
>>>    In a client class we have our custom module and rampart engaged.
>>> While
>>> sending the request, we are setting some header tags in outflow handler
>>> of
>>> custom module. while request going out, first custom module's outflow
>>> handler is executing then rampart module's outflow handler is executing.
>>> When request goes til webservice, (webservice is also having rampart and
>>> custom module engage), then webservice custom module's inflow handler is
>>> executing. We have a code to extract custom header tags in inflow
>>> handler.
>>> But the custom header tags we have set in outflow handler is not coming
>>> till
>>> inflow handler. And in inflow handler the envelope is in encrypt form.
>>> Could
>>> you please tell me how to get these header values in inflow handler.
>>>
>>> Please reply as soon as possible. This is very urgent.
>>>
>>> Thanks,
>>> Swapna Soni
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Unable-to-get-Header-tags-in-custom-module%27s-inflow-handler-tp25169355p25169355.html
>>> Sent from the Axis - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 
http://www.nabble.com/file/p25222387/InFlowHandler.java InFlowHandler.java 
http://www.nabble.com/file/p25222387/OutFlowHandler.java OutFlowHandler.java 
http://www.nabble.com/file/p25222387/service.xml service.xml 
http://www.nabble.com/file/p25222387/module.xml module.xml 
-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-Header-tags-in-custom-module%27s-inflow-handler-tp25169355p25222387.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to