benny boy
2010-12-29 15:52:39 UTC
Hello,
I'm making my first steps on mule 2.2, trying to convert an http request to a soap body so i can send a request to a webservice, ie:
http://localhost:8081/test/id/12345 -> xslt transformation to soap message -> call to webService
I'm having trouve with the xslt transformation; error is org.xml.sax.SAXParseException: Content is not allowed in prolog. (net.sf.saxon.trans.DynamicError).
I tried a lot of transformers, even a few copy/pasted from exemples just to see if the payload is modified, but always this error, so no transformation, the payload stays "/test/id/12345".
The only transformation i managed to use without error was the append-string one :o
So can i send to an xslt transformer a simple payload like "/test/id/12345" , or do i have to use a common transformer before calling the rest to soap transformer?
I'm kinda lost on this one, help would be greatly apprecied.
Thanks a lot.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I'm making my first steps on mule 2.2, trying to convert an http request to a soap body so i can send a request to a webservice, ie:
http://localhost:8081/test/id/12345 -> xslt transformation to soap message -> call to webService
I'm having trouve with the xslt transformation; error is org.xml.sax.SAXParseException: Content is not allowed in prolog. (net.sf.saxon.trans.DynamicError).
I tried a lot of transformers, even a few copy/pasted from exemples just to see if the payload is modified, but always this error, so no transformation, the payload stays "/test/id/12345".
The only transformation i managed to use without error was the append-string one :o
So can i send to an xslt transformer a simple payload like "/test/id/12345" , or do i have to use a common transformer before calling the rest to soap transformer?
I'm kinda lost on this one, help would be greatly apprecied.
Thanks a lot.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email