1 2 Previous Next 18 Replies Latest reply on Jul 20, 2012 3:26 AM by pratik.pai Go to original post
      • 15. Re: WS-Security: keystores and truststores
        fedejofa

        Jason answer does not clarify the first question.....

        Am I the only one who thinks this should be retouched?

        • 16. Re: WS-Security: keystores and truststores
          t.himaja

          Hi All,

          I'm trying to build the same application exposing EJB 3.0 as WebService using jboss 5.1.0.GA.Need to secure WS using WS-Security. My client is stand alone client. While creating the whole application i followed Jboss In Action textbook.

          Client -

          keystore has private & public key of client itself, also the servers public key.

          truststore has clients public key.

           

          Server -

          keystore has private & public key of server itself, also the client public key.

          truststore has server public key.

           

          And I'm getting exception as

          We have shown parts of the error log...

          ERROR [HandlerChainExecutor] Exception during handler processing
          org.jboss.ws.core.CommonSOAPFaultException: This service requires <wsse:Security>, which is missing.
           [SOAPFaultHelperJAXWS] SOAP request exception
          org.jboss.ws.core.CommonSOAPFaultException: This service requires <wsse:Security>, which is missing.
           SOAP request exception
          javax.xml.rpc.soap.SOAPFaultException: This service requires <wsse:Security>, which is missing.
                  at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessage(SOAPFaultHelperJAXRPC.java:189)
          Exception caught while (preparing for) performing the invocation: 
          javax.xml.ws.soap.SOAPFaultException: This service requires <wsse:Security>, which is missing.
                  at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:84)
          javax.xml.ws.soap.SOAPFaultException: This service requires <wsse:Security>, which is missing.
          12:22:38,266 ERROR [STDERR]         at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:84)
          

           

           

          Please reply.

          Thanks in advance,

           

          Regards,

          • 17. Re: WS-Security: keystores and truststores
            fedejofa
            org.jboss.ws.core.CommonSOAPFaultException: This service requires <wsse:Security>, which is missing. [SOAPFaultHelperJAXWS] SOAP request exception

            From the error..i guess your client is not using ws-security.

            Maybe, you should use or make other thread to ask this question, adding all the info about your client configuration...Cause this is a problem with the client. Is not a problem about keystores & trustores.

            Greetings.

            • 18. Re: WS-Security: keystores and truststores
              pratik.pai

              Hi,

               

              Is there a way using which i can place my stores somewhere outside in my server directory?

               

              I tried doing this :-

               

                    <key-store-file>${jboss.server.home.dir}/conf/server.keystore</key-store-file>

                  <key-store-type>jks</key-store-type>

                  <key-store-password>admin1234</key-store-password>

                  <trust-store-file>${jboss.server.home.dir}/conf/server.truststore</trust-store-file>

                  <trust-store-type>jks</trust-store-type>

                  <trust-store-password>admin1234</trust-store-password>

               

              this dint help

               

              Any help would be highly appreciated!

               

              Thanks in advance.

               

              Regards,

              Pratik Pai

              1 2 Previous Next