I was getting this error doing a web service call with WS Security
SOAPException: [ISS.0088.9135] A WMDocument Exception was thrown in the server, usually because an XML block was not well-formed
I found that the order in which the Username tag and the Timestamp tags in the Username_for_consumer.xml file made a difference. The file is in the ./IntegrationServer/config/policy directory.
<UsernameToken PasswordType="Text"/> </OutboundSecurity>
<UsernameToken PasswordType="Text"/> <Timestamp TimeToLiveInSeconds="300" IncludeMilliseconds="True"/> </OutboundSecurity>
I was then able to make successful WS Security calls. Just wondering if anyone else knew about this. If not maybe it will help someone else in the future.