OK after I added Timestamp as one of the action along with UsernameToken
everything worked. So now clients from .Net world can successfully
communicate with services hosted on java + tomcat+ wss4j.
Mir
Mir Shafiqul Islam wrote:
Are you sure about that? I do not think MS is going to violate the
standar in such a gross manner, although it could be possible. But the
error I get on axis side is about not being able to understand the
MustUnderstand header. Although I am not sure which element on
axis/wss4j side caused it. Still investigating.
Thanks
Mir
dheeraj wrote:
Mir,
In case of Username token with digest password option, the way .Net
calculates the digest is totally different from the way standard says to
create the digest, so it may not work unless the digest is calculated
the
same way.
Digest = SHA1(Create + Nonce + password); is the standard way
but .Net seems to be doing something else may be Digest = SHA1(Create +
Nonce + SHA1(password));
thanks,
dheeraj
-----Original Message-----
From: Mir Shafiqul Islam [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 6:08 PM
To: [email protected]
Subject: Interop with .Net
I am trying to get a .Net (in C#) interoperate with axis and wss4j. I am
using Username token with digested password. However when I invoke the
service from windows side I am getting error: Did not understand
"MustUnderstand" headers. The same method invoked by the java client
works fine. This is my first time playing with .Net so I maybe missing
something obvious. If anyone has client implementation on .Net side
interoping with axis/wss4j please let me know.
Thanks
Mir
System:
server: Wss4j (latest from cvs as of 6/2/2005) + axis 1.2RC3 + jdk
1.4.2 on MacOSX
client: Windows XP + WSE 2.0 + VS .NET 2003