I need to sign different part of a SOAP envelope. Can this be done by calling the WL.Server.signSoapMessage api multiple times with different values for the second parameter, namely the tag id.
I notice that when I call this api the second time for a different tag id. it adds a new wsse:Security stanza instead of inserting the signature into the already created wsse:Security stanza as a result of the first call to the api.
Any pointers?