Re: Axis2 1.8.2 with Rampart 1.7.1
robertlazarski <[email protected]> Mon, 10 Oct 2022 04:00:03 -1000
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBWD2WODb_GZaj-KQQxjOkTCkJppEQWmKwoMEh8NUsK4Ow@mail.gmail.com> |
--0000000000002f830b05eaae9456 Content-Type: text/plain; charset="UTF-8" First of all, see RAMPART-449 for a discussion on the next release. To see the messages, the way I would do it is the SOAP Monitor as explained in the docs. On Thu, Oct 6, 2022 at 4:50 AM Prasanth <[email protected]> wrote: > Hi, > > I am building a client for a web service using Axis2 1.8.1 and Rampart > 1.7.1 with axis2.xml (partial) shown below. When I run in debug mode I am > not getting a call to my password callback class. > > Also is there a way to view the final SOAP request that is sent out after > rampart adds security elements? I am able to view the SOAP request prior to > Rampart security (by running the code in debug mode). > > Thanks, > Prasanth > > > > --------------------------------------------------------------------------------------------------- > <axisconfig name="AxisJava2.0"> > > <module ref="rampart" /> > > <!-- ================================================= --> > <!-- Parameters --> > <!-- ================================================= --> > <parameter name="OutflowSecurity"> > <action> > <items>UsernameToken Timestamp</items> > <user>prasanth</user> > > <passwordCallbackClass>com.nqadmin.callreports.client.PasswordCallback</passwordCallbackClass> > </action> > </parameter> > > > > --------------------------------------------------------------------------------------------------- > --0000000000002f830b05eaae9456 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>First of all, see <span style=3D"font-family:monospac= e"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">RAMPA= RT-449 for a discussion on the next release. <br></span></span></div><div><= span style=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0);backgr= ound-color:rgb(255,255,255)"><br></span></span></div><div><span style=3D"fo= nt-family:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(2= 55,255,255)">To see the messages, the way I would do it is the SOAP Monitor= as explained in the docs. <br></span></span></div><div><span style=3D"font= -family:monospace"></span></div></div><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Thu, Oct 6, 2022 at 4:50 AM Prasanth <= ;<a href=3D"mailto:[email protected]">[email protected]</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> =20 =20 =20 <div> <font face=3D"Verdana">Hi,</font><br> <div><font face=3D"Verdana"><br> I am building a client for a web service using Axis2 1.8.1 and Rampart 1.7.1 with axis2.xml (partial) shown below. When I run in debug mode I am not getting a call to my password callback class. <br> <br> Also is there a way to view the final SOAP request that is sent out after rampart adds security elements? I am able to view the SOAP request prior to Rampart security (by running the code in debug mode).<br> <br> Thanks,<br> Prasanth<br> <br> </font><br> <font face=3D"Verdana"><font face=3D"Verdana">-----------------------= ---------------------------------------------------------------------------= -<br> </font><axisconfig name=3D"AxisJava2.0"><br> =C2=A0=C2=A0 <br> =C2=A0=C2=A0 =C2=A0<module ref=3D"rampart" /><br> <br> =C2=A0=C2=A0=C2=A0 <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><br> =C2=A0=C2=A0=C2=A0 <!-- Parameters --><br> =C2=A0=C2=A0=C2=A0 <!-- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --><br> =C2=A0=C2=A0=C2=A0 <parameter name=3D"OutflowSecurity"= ><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <action><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = <items>UsernameToken=C2=A0 Timestamp</items><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = <user>prasanth</user><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <passwordCallbackClass>com.nqadmin.callreports.client.PasswordCallbac= k</passwordCallbackClass><br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </action><br> =C2=A0=C2=A0=C2=A0 </parameter><br> <br> <br> ---------------------------------------------------------------------------= ------------------------<br> </font> </div> </div> </blockquote></div> --0000000000002f830b05eaae9456--