• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SOAPFaultException: Policy requires confidentialityenc key : 0

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am currently working on a web services security project. I have a web service and a web service proxy. I followed the example on http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html#CreateSecureProxy

I created the keystore that is listed in the link and followed all of the instructions verbatim. I am encountering a puzzling error when I run it. I get the following error: javax.xml.rpc.soap.SOAPFaultException: Policy requires confidentialityenc key : 0

I checked the printStackTrace and found that the fault was raised during the send. The same error that I received on the client was included in the output on the server.

The listed key information is below:

Alias name: dave
Creation date: Mar 19, 2007
Entry type: keyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Dave Prater, OU=daveDept, O=daveOrg, L=daveHome, ST=Georgia, C=US
Issuer: CN=Dave Prater, OU=daveDept, O=daveOrg, L=daveHome, ST=Georgia, C=US
Serial number: 45feb137
Valid from: Mon Mar 19 08:50:15 PDT 2007 until: Sun Jun 17 08:50:15 PDT 2007
Certificate fingerprints:
MD5: 2E:24:62:76:10 1:63:FC 7:94:28:69:0C:9F:6B:FD
SHA1: E0:67:C7:FB:EB:CE:67:97:77:93:43 E:76:64:0C:6E 4:3B:97:62


*******************************************
*******************************************


Alias name: sam
Creation date: Mar 19, 2007
Entry type: keyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Sam Moore, OU=samDept, O=samOrg, L=samHome, ST=Florida, C=US
Issuer: CN=Sam Moore, OU=samDept, O=samOrg, L=samHome, ST=Florida, C=US
Serial number: 45feb085
Valid from: Mon Mar 19 08:47:17 PDT 2007 until: Sun Jun 17 08:47:17 PDT 2007
Certificate fingerprints:
MD5: 0C:20:55 A:4C:EE:03:2F:45:60:A6:36 7:05:7D:AC
SHA1: 44:02:17:5D 3:8D:1F:95 A:1E:34:8C:FD:00:E9 5:34:01:BE:97


*******************************************
*******************************************

I would appreciate any light you could shed on this. Thank you.

Daniel
 
reply
    Bookmark Topic Watch Topic
  • New Topic