I'm trying to transform a response from a SaajBinding component using the
XsltComponent. These two components are running in a static-routing-slip
eip.

I get following error: "org.xml.sax.SAXParseException: Content is not
allowed in prolog" (see below)

The XsltComponent seems to be okay, because it does not through any error
when it is running without eip.

Any idea what is going wrong here?

Best regards,
  Stefan


DEBUG - BaseLifeCycle.processExchange(369) | Received exchange: status:
Active, role: Consumer
DEBUG - MemoryStore.store(50) | Storing object with id:
ID:sbergstein-1638-1148656202005-6:0
DEBUG - DeliveryChannelImpl.traceMessageExchange(342) | Sent:
MessageExchange[
  id: ID:sbergstein-1638-1148656202005-6:1
  status: Active
  role: consumer
  service: {http://test}transformer2
  endpoint: transformer2
  in: <?xml version="1.0" encoding="UTF-8"?><test:createResponse
xmlns:test="http://openview.hp.com/xmlns/obs/test/"; xml
ns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:wsf="http://openview.hp.com/xmlns/obs/ws/2005/06"; xmlns:xsd
="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><test:endpointReference><wsf:f
ilter><wsf:identity>00000000-0000-0000-03f1-abe625bdc01d</wsf:identity></wsf:filter><wsf:address>http://fred.deu.hp.co
m/wsf-demo-axis-obs-01.00.020/services/IncidentService</wsf:address></test:endpointReference></test:createResponse>
]
DEBUG - Broker.resolveAddress(388) | Routing exchange
[EMAIL PROTECTED] to: ServiceE
ndpoint[service={http://test}transformer2,endpoint=transformer2]
DEBUG - AbstractFlow.send(116) | Called Flow send
DEBUG - AbstractFlow.doRouting(165) | Called Flow doRouting
[Fatal Error] :1:1: Content is not allowed in prolog.
DEBUG - DeliveryChannelImpl.traceMessageExchange(344) | Unable to display
message
org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123) 

--
View this message in context: 
http://www.nabble.com/org.xml.sax.SAXParseException%3A+Content+is+not+allowed+in+prolog-t1687645.html#a4579039
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to