-
1. Re: JBoss WSSecurity and .Net Client
method_ben Nov 30, 2007 2:10 PM (in response to rohstoffmond)I have the same problem, do you find a solution ?
-
2. Re: JBoss WSSecurity and .Net Client
asoldano Dec 2, 2007 4:02 AM (in response to rohstoffmond)"rohstoffmond" wrote:
I've tried a lot to interop between .Net (C#) Client using WSE 3.0 and Jboss 4.2.0 Webservices secured with WSSecurity (Signing and encrypting the webservices).
But still it doesn't work...
Using the right configuration of both .Net and JBossWS you should be able to obtain interoperability. Could you please provide some further information?
Which version of JBossWS are you using? Which error are you getting (stacktrace and log)? What is your jbossws wsse conf?
Is the .Net side the server side? if so, could you please post here the wsdl? Is it using WS-Security Policy? -
3. Re: JBoss WSSecurity and .Net Client
method_ben Dec 4, 2007 10:18 AM (in response to rohstoffmond)I did a web service with JBossWS running on JBoss AS 4.2.2.GA. I installed JBossWS 2.0.2.GA. I deployed it in a war file with the jboss-wsse-client.xml,jboss-wsse-server.xml, wsse.keystore and wsse.truststore (in the WEB-INF).
"Every things is ok with a java client". I have exported a certificate with the java keytool.
In my Visual Studio Project, I specify the certificate with WSE Setting 3.0 (the Policy Tab). When I run my .Net client, I get this error :
System.Security.Cryptography.CryptographicException
"Object contains only the public half of a key pair. A private key must also be provided."
The exception is throwed by .Net Environment and I get no exception on my JBoss AS log file.
I think that the exported certificate from the java keystore does not contain the private key or has not a valid format!?
The certificate must be converted ?
Thx