The C14N method is the true correct way to canonicalize a document
written to the full specs of exclusive and inclusive canonicalization.
Depending upon what you are passing, it is possible that additional
options might be needed to be passed to the method or the request
contains some incorrect markup that the older canonicalization routine
does not check for.
Based on that error you get though, it looks like one of the namespace
URIs in your document is not a valid namespace.
Can you provide a serialized version of the SOAP request prior to it
being canonicalized? Would be the easiest way to tell what's wrong
and/or fix any bugs. Please tar or zip the request so the raw request is
provided and no whitespaces are lost/altered during transport or from
mail clients.
Rob
Rob
I'm going to check on this a bit more, but am pretty sure that its due
to the fact that libxml2 does not have full support or handling URIs
based on RFC 3986, but rather the older RFC 2396. For now you will need
to use my hand coded version of C14N until that gets addressed. It is
something on the todo but not a high priority.
Rob