WSsecurity: SignatureMethod error

Enrique Soriano <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAMPpeEUTLEsCaZ81yHPJSz2KWwa3TfWSx0vUK7qZ4wn6sTOoXQ@mail.gmail.com>
Hi all, I need some help with Axis2/rampart.

I'm implementing a WS client. I generated the client stubs from a WSDL
file by using wsdl2java (jaxbri binding). The WSDL file includes a
WS-security policy, which sets TripleDesSha256Rsa15 as the
AlgorithmSuite.

Rampart is engaged, my Keystore is ok, and so on. The problem: the
requests are signed with RsaSha256, but the server requires RsaSha1
signatures:

          ...
          <ds:SignatureMethod
Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
          ...

AFAIK, WS-SecurityPolicy specifies that RsaSha1 is always used for the
signatures. The AlgorithmSuite (e.g. TripleDesSha256Rsa15) is used to
configure the other crypto algorithms (digest, symmetric, wrapping,
etc.), right?

What's happening here? Am I missing something?

I'm using Java 1.8, axis2-1.7.1, rampart-1.7.0 and wss4j-1.6.19.

Thanks in advance.
Regards.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.