Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > using wss4j client to access wse 3.0 web service

Reply
Thread Tools

using wss4j client to access wse 3.0 web service

 
 
Vijay Pandey
Guest
Posts: n/a
 
      07-05-2006
hello
I have a user name for certificate policy in web service and using wse 3.0.
I need to build a java client using wss4j.

My .Net policy looks like

<policy name="STEPPolicySignBeforeEncryptAndEncryptSignatu re">
<compressionAssertion compressionMode="GZip" threshold="0"/>
<usernameForCertificateSecurity establishSecurityContext="false"
renewExpiredSecurityContext="false" requireSignatureConfirmation="false"
messageProtectionOrder="SignBeforeEncryptAndEncryp tSignature"
requireDerivedKeys="true" ttlInSeconds="300">
<serviceToken>
<x509 storeLocation="CurrentUser" storeName="My"
findValue="CN=STepCertficate" findType="FindBySubjectDistinguishedName" />
</serviceToken>
<protection>
<request signatureOptions="IncludeAddressing, IncludeTimestamp,
IncludeSoapBody" encryptBody="true" />
<response signatureOptions="IncludeAddressing, IncludeTimestamp,
IncludeSoapBody" encryptBody="true" />
<fault signatureOptions="IncludeAddressing, IncludeTimestamp,
IncludeSoapBody" encryptBody="false" />
</protection>
</usernameForCertificateSecurity>
<requireActionHeader />
</policy>

Can you please tell me how to generate corresponding policy (deployment
descriptor) for wss4j. I am able to make deployment descriptor for UserName
Token that is usernameOverTransportSecurity.

1. I have X.509 certificates installed in personal store, so I will need to
use this certificate for encryption.

Thank you in advance for any help.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WCF Host ASP.NET Service - WSE 3.0 Client Compatibility Richard Collette ASP .Net Web Services 0 08-27-2007 01:28 PM
Connecting to a web service using WSE 2.0 Shawn ASP .Net 0 02-19-2006 05:03 PM
Proxy for WSE 2 enabled web service ? Chakra ASP .Net Web Services 1 02-28-2005 05:11 PM
web service ( + WSE 2.0 ) hangs after adding an output filter DaberElay ASP .Net Web Services 0 06-27-2004 10:30 PM
Bug in WSE for C++ Web Service? Daniel Johansson ASP .Net Web Services 0 08-25-2003 03:13 PM



Advertisments