PHaegele
16 years agoOccasional Contributor
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.jks 1 http://www.w3.org/2000/09/xmldsig#rsa-sha1 http://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>
As a workaround edit the the
Example (XML fragment of the project file):
<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>
<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>
<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>