Paul Cameron <pcn <at> rpdata.com> writes: > > Berin Lautenbach <berin <at> wingsofhermes.org> writes: > > > > > Can you post the template that you are using and the keypair (assuming > > they are test keys) to me or the list? Keypair not so necessary - I can > > use my own, but the template would help. > > > > You could try putting a bit of dummy text as the signature value - it > > will get overwritten, but the loader for the Signature expects text > > children in certain places and throws an exception if it doesn't find them. > > > > Cheers, > > Berin > > > SNIP... > > Here's the template: > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" > xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- wssecurity- SNIP ...
The template above was missing the XML tag from the first line of the message: <?xml version=~"1.0~" encoding=~"utf-8~"?> So, now templatesign reports, "Errors during parse" but doesn't specify what those errors are.