Forum Discussion

CrazyFrog's avatar
CrazyFrog
Contributor
6 years ago
Solved

Unable to set the values of a Signature (WS-Security)

I am looking how i can change the values of "Signature"

I use the follow code to create an outgoing WSS and add a entry "Signature"

But i can't fill in the values that belongs to "Signature"

 

        DefaultWssContainer wssContainer = wsdlOperation.getProject().getWssContainer();

        OutgoingWss outgoingWss = wssContainer.addOutgoingWss("Happy-flow");
        outgoingWss.setMustUnderstand(true);
        OutgoingWssConfig outgoingWssConfig = outgoingWss.getConfig();

        WSSEntryConfig wssEntryConfig = outgoingWssConfig.addNewEntry();
        wssEntryConfig.setType("Signature");

Can anybody help me please, somebody from Smartbear Olga_T 

 

Regards 

 

Raymond