You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Lorenzo Spira <lo...@libero.it> on 2007/11/20 15:53:59 UTC

Problem with SE component and xslt

hi,
i'm trying to run this simple integration process:

HTTP(Binding Component)-->Transformer xslt1 (SE)-->WebService Pipeline1
(SE)-->Transformer xslt2 (SE)-->WebService Pipeline2 (SE)--> Screen

The process take a string in input, transform it and the output message of
servicemix is:

ERROR - HttpComponent - Error processing exchange InOut[
id: ID:192.168.64.216-1165754b7ab-3:7
status: Active
role: provider
service: {http://servicemix.org/cheese}myEnricher 1Http
endpoint: myEnricher 1Http
in: Unable to display: org.xml.sax.SAXParseException: Reference is not
allowed
in prolog.
]
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '&' (code
38)
in prolog; expected '<' 
......................


The output of the "WebService Pipeline1 (SE)" is a XML file like:
"<service>hello Lorenzo</service>" but if i create a process only using one
transformation and one WS-pipeline i obtain the following output (in
servicemix):

<?xml version="1.0" encoding="UTF-8"?>
<service2Response xmlns="http://beans.demo.spagic.eng.it";
xmlns:xsi="http://www.w
3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmln
s:soapenv="http://www.w3.org/2003/05/soap-envelope";>
<ns1:service2Return
xmlns:ns1="http://DefaultNamespace";>&lt;service&gt;hello
Lorenzo&lt;/service&gt;</ns1:service2Return>
</service2Response>

Can somebody help me please?

Thank in advance for any suggestion
Lorenzo Spira
-- 
View this message in context: http://www.nabble.com/Problem-with-SE-component-and-xslt-tf4843935s12049.html#a13858356
Sent from the ServiceMix - User mailing list archive at Nabble.com.