No luck still :((

first request has mustUnderstand=false
second i tried to increase wse ttl ... but yet no luck
...

<?xml version="1.0" encoding="utf-8"?>
<log>
  <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
    <soap:Header>
      <wsa:Action>
      </wsa:Action>
     
<wsa:MessageID>uuid:06f8d0c3-7847-479d-aade-23a279a060bf</wsa:MessageID>
      <wsa:ReplyTo>
       
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
      </wsa:ReplyTo>
     
<wsa:To>http://localhost:8080/axis/services/stock-wss-01</wsa:To>
      <wsse:Security>
        <wsu:Timestamp
wsu:Id="Timestamp-9d806550-b4dc-42a5-8a6b-cec41c2fe9c7">
         
<wsu:Created>2006-11-11T15:09:27Z</wsu:Created>
         
<wsu:Expires>2006-11-11T15:14:27Z</wsu:Expires>
        </wsu:Timestamp>
        <wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="SecurityToken-100f2c90-4c89-4a04-ad30-aa34f10db493">
          <wsse:Username>wss4j</wsse:Username>
          <wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>security</wsse:Password>
         
<wsse:Nonce>xofnZXgpvmxOgOQ0o+gSeA==</wsse:Nonce>
         
<wsu:Created>2006-11-11T15:09:27Z</wsu:Created>
        </wsse:UsernameToken>
      </wsse:Security>
    </soap:Header>
    <soap:Body />
  </soap:Envelope>
  <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
    <soap:Header>
      <wsa:Action>
      </wsa:Action>
     
<wsa:MessageID>uuid:53f374e5-2d66-4173-9265-4cf1b64b4bbe</wsa:MessageID>
      <wsa:ReplyTo>
       
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
      </wsa:ReplyTo>
     
<wsa:To>http://localhost:8080/axis/services/stock-wss-01</wsa:To>
      <wsse:Security>
        <wsu:Timestamp
wsu:Id="Timestamp-21f5a351-8d54-457c-98d6-2a95df0fea2a">
         
<wsu:Created>2006-11-11T15:10:25Z</wsu:Created>
         
<wsu:Expires>2006-11-11T23:30:25Z</wsu:Expires>
        </wsu:Timestamp>
        <wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="SecurityToken-f69d130c-3d98-4ee2-88cd-34c9db7cf885">
          <wsse:Username>wss4j</wsse:Username>
          <wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>security</wsse:Password>
         
<wsse:Nonce>whH0KS0aYUhuYqFVqbi0rg==</wsse:Nonce>
         
<wsu:Created>2006-11-11T15:10:25Z</wsu:Created>
        </wsse:UsernameToken>
      </wsse:Security>
    </soap:Header>
    <soap:Body />
  </soap:Envelope>
</log>



<?xml version="1.0" encoding="utf-8"?>
<log>
  <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Header>
      <wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>
        <wsu:Timestamp
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="Timestamp-7068128">
         
<wsu:Created>2006-11-11T15:09:31Z</wsu:Created>
         
<wsu:Expires>2006-11-11T15:14:31Z</wsu:Expires>
        </wsu:Timestamp>
        <wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="UsernameToken-16706762">
          <wsse:Username>wss4j</wsse:Username>
          <wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>security</wsse:Password>
         
<wsse:Nonce>uDobq5lc0L2yDvE4yebYrw==</wsse:Nonce>
         
<wsu:Created>2006-11-11T15:09:31Z</wsu:Created>
        </wsse:UsernameToken>
      </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
      <testReturn>Just a test</testReturn>
    </soapenv:Body>
  </soapenv:Envelope>
  <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";><wsu:Timestamp
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="Timestamp-9564382"><wsu:Created>2006-11-11T15:10:29Z</wsu:Created><wsu:Expires>2006-11-11T15:15:29Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="UsernameToken-32045680"><wsse:Username>wss4j</wsse:Username><wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>security</wsse:Password><wsse:Nonce>bfDuGp/QoOnlB4ZC8CuVgA==</wsse:Nonce><wsu:Created>2006-11-11T15:10:29Z</wsu:Created></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><testReturn>Just
a test</testReturn></soapenv:Body></soapenv:Envelope>
</log>


I am concerned with the prettyXML being logged ...
btw i am using jdk1.4.2_02 supplied with bea weblogic
8.1 sp3 ...
also i am using zone alarm firewall ....

just thot i wd add some maybe irrelevant info..
what is the significance of :

        <parameter name="precisionInMilliseconds"
value="false" />

???

I will try to look this up in the meantime as well ...

And the C# client code :

using System;
using Microsoft.Web.Services2;
using Microsoft.Web.Services2.Security.Tokens;

namespace WSE_TesterClient
{
        /// <summary>
        /// Summary description for Class1.
        /// </summary>
        class Client
        {
                /// <summary>
                /// The main entry point for the application.
                /// </summary>
                [STAThread]
                static void Main(string[] args)
                {
                        
//                      Console.Write("Enter Stcok Symbol: ");
//                      string symbol = Console.ReadLine();
//                      Console.Write("Enter Name: ");
//                      string name = Console.ReadLine();
//                      Console.Write("Enter Password: ");
//                      string password = Console.ReadLine();
                        
                        
                        axis_wss.StockQuoteServiceServiceWse proxy = new
WSE_TesterClient.axis_wss.StockQuoteServiceServiceWse();
                        proxy.RequestSoapContext.Security.Tokens.Add(new
UsernameToken("wss4j", 
                                "security", PasswordOption.SendPlainText));
                
proxy.RequestSoapContext.Security.Timestamp.TtlInSeconds
= 30000;
                        proxy.RequestSoapContext.Security.MustUnderstand =
false;

                        //Console.WriteLine(proxy.getQuote(symbol));
                        string retval = proxy.test();
                        Console.WriteLine("retval is: " + retval);
                        Console.WriteLine("Hit enter to end.");
                        Console.ReadLine();
                        
                }
        }
}






--- Ruchith Fernando <[EMAIL PROTECTED]>
wrote:

> PLease try adding :
> 
> <parameter name="precisionInMilliseconds"
> value="false" />
> 
> into the WSDoAllSender configuration.
> 
> Thanks,
> Ruchith
> 
> On 11/11/06, ws_dev2001 <[EMAIL PROTECTED]>
> wrote:
> > unfort ... still no luck ...:
> > here goes :
> >
> > request :
> > =========
> > <soap:Envelope
> >
>
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> >
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> >
>
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";
> >
>
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
> >
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
> >     <soap:Header>
> >       <wsa:Action>
> >       </wsa:Action>
> >
> >
>
<wsa:MessageID>uuid:15a2ef5c-408f-411e-9e82-b66ba0216076</wsa:MessageID>
> >       <wsa:ReplyTo>
> >
> >
>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>
> >       </wsa:ReplyTo>
> >
> >
>
<wsa:To>http://localhost:8080/axis/services/stock-wss-01</wsa:To>
> >       <wsse:Security soap:mustUnderstand="1">
> >         <wsu:Timestamp
> >
>
wsu:Id="Timestamp-89ae3aaa-f8bc-4b2f-a866-fd22a252f8fd">
> >
> > <wsu:Created>2006-11-11T14:34:02Z</wsu:Created>
> >
> > <wsu:Expires>2006-11-11T14:39:02Z</wsu:Expires>
> >         </wsu:Timestamp>
> >         <wsse:UsernameToken
> >
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
> >
>
wsu:Id="SecurityToken-5f1c6b24-b5cd-48a6-8224-7ab128e348d7">
> >           <wsse:Username>wss4j</wsse:Username>
> >           <wsse:Password
> >
>
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>security</wsse:Password>
> >
> > <wsse:Nonce>7lQDoG6gSUUf/md/2M1LLg==</wsse:Nonce>
> >
> > <wsu:Created>2006-11-11T14:34:02Z</wsu:Created>
> >         </wsse:UsernameToken>
> >       </wsse:Security>
> >     </soap:Header>
> >     <soap:Body />
> >   </soap:Envelope>
> >
> > response:
> > =========
> >   <soapenv:Envelope
> >
>
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> >
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> > <soapenv:Header>
> > <wsse:Security
> >
>
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";><wsu:Timestamp
> >
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
> >
>
wsu:Id="Timestamp-20859482"><wsu:Created>2006-11-11T14:34:13.656Z</wsu:Created><wsu:Expires>2006-11-11T14:39:13.656Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken
> >
>
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
> >
>
wsu:Id="UsernameToken-23903639"><wsse:Username>wss4j</wsse:Username><wsse:Password
> >
>
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText";>security</wsse:Password><wsse:Nonce>gPFA1VC7EAPxq0ZJLJZ1dA==</wsse:Nonce><wsu:Created>2006-11-11T14:34:13.636Z</wsu:Created></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><testReturn>Just
> > a
> test</testReturn></soapenv:Body></soapenv:Envelope>
> >
> > trust me ... i have tried almost all combinations
> and
> > sequences ...
> >
> > maybe i shd try wse3.0 (eek !) ?
> > :)
> > --- Ruchith Fernando <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Hi,
> > >
> > > On 11/11/06, ws_dev2001 <[EMAIL PROTECTED]>
> > > wrote:
> > > > Hey Ruchith,
> > > > Are you saying Rampart+Axis2 is what I must
> look
> > > at ?
> > >
> > > We have WS-Security support for both Axis1.x and
> > > Axis2.
> > > I'm not sure about any other documentation on
> Axis
> > > 1.x other than what
> > > is available with wss4j and in the wiki
> [1],[2],[3].
> > >
> > > However we do have some articles/tutorials on
> Axis2
> > > + rampart stuff :-)
> > >
> > > Thanks,
> > > Ruchith
> > >
> > > [1]
> http://wiki.apache.org/ws/FrontPage/WsFx/wssec
> > > [2]
> > >
> http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ
> > > [3]
> > >
> >
>
http://wiki.apache.org/ws/FrontPage/WsFx/wss4jParameters
> > > > I think the problem is with the qname in
> wse2.0
> > > sp3...
> > > > unfortunately i am not brave enough to upgrade
> to
> > > > wse3.0 right now ...
> > > > :)
> > > > --- Ruchith Fernando
> <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > > Hi Dev,
> > > > >
> > > > >
> > > > >
> > > > > On 11/11/06, ws_dev2001
> <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > > Hi Ruchith,
> > > > > > Axis engine with wss4j plugged in is happy
> > > with
> > > > > the
> > > > > > relevant code commented out for the call
> in
> > > > > > WSDaAllReceiver :
> > > > > > ...
> > > > > > if (!checkReceiverResults(wsResult,
> actions))
> > > {
> > > > > > ...
> > > > > >
> > > > >
> > > > > If this is the point where WSS4J complains
> ..
> > > seems
> > > > > like you have to
> > > > > configured your "action" parameter properly.
> > > > >
> > > > > Please send a message generated by the .NET
> > > client,
> > > > > we should be able
> > > > > to figure out the security actions performed
> on
> > > the
> > > > > message.
> > > > >
> > > > > > Maybe you can guide me to some resourceful
> > > > > > documentation on this ..etc. ?
> > > > >
> > > > > If you are planning to switch to Axis2 from
> Axis
> > > > > 1.x, you can find
> > > > > documentation related to Axis2 security
> stuff in
> > > > > www.wso2.net
> > > > >
> > > > > Thanks,
> > > > > Ruchith
> > > > >
> > > > > --
> > > > > www.ruchith.org
> > > > >
> > > > >
> 
=== message truncated ===


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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

Reply via email to