Hi Joerg
Joerg Heinicke a ecrit le 10/04/07 0:32:
Why do you need a specific encoding? Do your request or response got
parsed wrongly? There is a discouraging comment in the
WebServiceProxyGenerator [1, line 115 and following]:
Can you tell the actual error you want to solve? That might make wild
guessing a bit less wild ;)
The actual error I try to solve is I have errors serializing the response.
src="http://theremotewebservice";
pipelineUtil =
cocoon.createObject(org.apache.cocoon.components.flow.util.PipelineUtil);
doc = pipelineUtil.processToDOM("go-ws", { src : src });
cocoon.disposeObject(pipelineUtil);
var title = serializeNode(doc.getElementsByTagName("Title").item(0));
//-----------------------
function serializeNode(node) {
return Packages.org.apache.cocoon.xml.XMLUtils.serializeNode(node);
}
I have the message "Invalid byte 1 of 1-byte UTF-8 sequence."
***
*Regards,
Lionel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]