You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Mir Shafiqul Islam <mi...@mindspring.com> on 2005/06/03 03:08:28 UTC
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
Re: Interop with .Net
Posted by Mir Shafiqul Islam <mi...@mindspring.com>.
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:mislam@mindspring.com]
>> Sent: Thursday, June 02, 2005 6:08 PM
>> To: fx-dev@ws.apache.org
>> 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
>>
>>
>>
>>
>>
>
Re: Interop with .Net
Posted by Mir Shafiqul Islam <mi...@mindspring.com>.
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:mislam@mindspring.com]
>Sent: Thursday, June 02, 2005 6:08 PM
>To: fx-dev@ws.apache.org
>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
>
>
>
>
>
RE: Interop with .Net
Posted by dheeraj <dh...@oracle.com>.
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:mislam@mindspring.com]
Sent: Thursday, June 02, 2005 6:08 PM
To: fx-dev@ws.apache.org
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
New Member
Posted by dheeraj <dh...@oracle.com>.
Hi,
I am new to the list. Can someone point me to the current documents,
code-place and other relevant information about
WS-Security project (WSS4J)?
TIA,
dheeraj