Thank you so much Paul! I got it work following your advice. I still have a 
question though: why did I spend so much time trying to figure it out by myself 
when I could've just emailed you guys!? :) I'm so mad now!

Paul Fremantle <[EMAIL PROTECTED]> wrote:  Yep you need some kind of policy to 
tell Rampart what parts of
WS-Security to implement.

Take a look at rampart-1.3\samples\policy\sample01

Paul


On Jan 4, 2008 5:15 PM, red dog wrote:
> Hi Paul,
>
> So do i still need a policy file even if i send the pair username/password
> in clear text? Sorry, it seems I missed this part when I read the how-to
> steps.
>
> Thank you.
>
>
> Paul Fremantle 
wrote:
> What is your rampart config/policy. If you just enable Rampart but
> don't give it any configuration it doesn't do much.
>
> Paul
>
> On Jan 4, 2008 4:51 PM, red dog wrote:
> > Reg. message ID: BAY108-DAV6AE19CD9C371CBB93AB9CAE930 () phx ! gbl
> >
> >
> > Hi everyone,
> >
> > Is there any resolution to this? I'm facing the same issue and I'm using
> > Axis 2 and rampart module 1.3.
> >
> > If I just send a SOAP message with an empty security header my method gets
> > called.
> >
> > POST /axis2/services/sample03 HTTP/1.1
> > User-Agent: Axis2
> > SOAPAction: urn:echo
> > Host: localhost:18088
> > Transfer-Encoding: chunked
> > Content-Type: text/xml; charset=UTF-8
> > 1ba
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>>
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
> > soapenv:mustUnderstand="1" />>
> xmlns:ns1="http://sample03.samples.rampart.apache.org/xsd";>Hello
> > world
>
> > 0
> >
> > Response:
> >
> > HTTP/1.1 200 OK
> > Date: Fri, 04 Jan 2008 15:59:48 GMT
> > Server: Simple-Server/1.1
> > Transfer-Encoding: chunked
> > Content-Type: text/xml; charset=UTF-8
> > 133
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>> />>
> xmlns:ns="http://sample03.samples.rampart.apache.org/xsd";>Hello
> > world
>
> > 0
> >
> >
> > After debugging I relized that the handle() method from the
> > MyServiceCallbackHandler is not getting called although the handler is
> > getting invoked (tested by adding an empty constructor to the class).
> >
> > Your help is much appreciated.
> >
> >
> > Thank you.
> >
> >
> > ________________________________
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> > now.
>
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ________________________________
> Never miss a thing. Make Yahoo your homepage.



-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Reply via email to