[jboss-user] [JBossWS] - Re: XML signatures as WS payload?

2009-01-14 Thread sstaible
alessio.sold...@jboss.com wrote : Is there a reason why you're not using the WS-Security implementation provided by jbossws (which of course offers signing functionalities) ? It's not our goal to secure WS communications. Our service provides XML signature functionality to other software

[jboss-user] [JBossWS] - Re: XML signatures as WS payload?

2009-01-14 Thread sstaible
richard.opa...@jboss.com wrote : | I suggest you to call Node.normalize() method before calling XML digital signature API. | This doesn't seem to help as normalize does only normalize DOM representation of the XML structure but does not modify the textual representation (which is relevant

[jboss-user] [JBossWS] - Re: XML signatures as WS payload?

2009-01-14 Thread sstaible
richard.opa...@jboss.com wrote : | You can't rely on the precondition SOAP message will be unmodified (regarding the whitespaces) on other side. Thank you for your response. But then I do not understand why signatures in WS-Security work. I would presume they depend on the same strict XML

[jboss-user] [JBossWS] - XML signatures as WS payload?

2009-01-13 Thread sstaible
Hi, we've implemented a web service that receives a xml structure as input, signs it (with XML-D-Sig) and returns it to the client. We found out however that during transport of the xml structure from the client to server (and also back), the whitespaces in the XML data partially stripped