Forum Discussion

PHaegele's avatar
PHaegele
Occasional Contributor
16 years ago

Problems with the WS-Security Configuration - Signature Parts

It is not possible to store the settings for the signature parts under the projects WS-Security Configuration: if you just add Name, Namespace and Enoding (see attached picture), the content will not be saved.

As a workaround edit the the .xml directly to save these settings. The reading of these settings from the project file seems to work without problems!

Example (XML fragment of the project file):
clientKeystore.jks1http://www.w3.org/2000/09/xmldsig#rsa-sha1http://www.w3.org/2001/10/xml-exc-c14n#true<xml-fragment xmlns:con="http://eviware.com/soapui/config">
  <con:entry key="name" value="TelematikHeader"/>
  <con:entry key="namespace" value="http://ws.gematik.de/tel/transport/v1.2"/>
  <con:entry key="enc" value="Element"/>
</xml-fragment>
<xml-fragment xmlns:con="http://eviware.com/soapui/config">
  <con:entry key="name" value="Timestamp"/>
  <con:entry key="namespace" value="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/>
  <con:entry key="enc" value="Element"/>
</xml-fragment>
<xml-fragment xmlns:con="http://eviware.com/soapui/config">
  <con:entry key="name" value="Body"/>
  <con:entry key="namespace" value="http://schemas.xmlsoap.org/soap/envelope/"/>
  <con:entry key="enc" value="Element"/>
</xml-fragment>

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

    yes, this is a confirmed bug and fixed in upcoming release. Sorry for the inconvenience.

    regards!

    /Ole
    eviware.com