Axis2 1.8.2 with Rampart 1.7.1

Prasanth <[email protected]> Thu, 6 Oct 2022 09:48:58 -0500
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
--------------UEkwdkZCZl0bWbtLrlMrbmQa
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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>


---------------------------------------------------------------------------------------------------
--------------UEkwdkZCZl0bWbtLrlMrbmQa
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="Verdana">Hi,</font><br>
    <div class="moz-forward-container"><font face="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="Verdana"><font face="Verdana">---------------------------------------------------------------------------------------------------<br>
        </font>&lt;axisconfig name="AxisJava2.0"&gt;<br>
           <br>
            &lt;module ref="rampart" /&gt;<br>
        <br>
            &lt;!-- =================================================
        --&gt;<br>
            &lt;!-- Parameters --&gt;<br>
            &lt;!-- =================================================
        --&gt;<br>
            &lt;parameter name="OutflowSecurity"&gt;<br>
                &lt;action&gt;<br>
                    &lt;items&gt;UsernameToken  Timestamp&lt;/items&gt;<br>
                    &lt;user&gt;prasanth&lt;/user&gt;<br>
                   
&lt;passwordCallbackClass&gt;com.nqadmin.callreports.client.PasswordCallback&lt;/passwordCallbackClass&gt;<br>
                &lt;/action&gt;<br>
            &lt;/parameter&gt;<br>
        <br>
        <br>
---------------------------------------------------------------------------------------------------<br>
      </font> </div>
  </body>
</html>

--------------UEkwdkZCZl0bWbtLrlMrbmQa--