Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to transform a message in Mule using TransformMessage component

 
Arunoday Das Gupta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I am not able to transform a message using a Transform message. My input is a java object which is directly generated through wsdl using apache axis and output is application/xml




and my mule config file is as under


While I tranform the message, I get an error Unexpected character 'p' (code 112) in prolog; expected '<'
at [row,col {unknown-source}]: [1,1] (com.ctc.wstx.exc.WstxUnexpectedCharException)

After tranform the payload is payload after transform com.mulesoft.weave.mule.WeaveMessageProcessor$WeaveOutputHandler@58bf5935

I don't why it is not getting transformed into an xml

Can anybody please help?

Regards,
Arun
 
Paul Clapham
Sheriff
Posts: 21567
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something, somewhere, is trying to parse an XML document but is being given some other document which has the letter "p" as its first character.

For me it's hard to tell what's doing that or what XML document it's trying to read. Perhaps looking at the stack trace might help, or looking at the logs which it appears you might be producing.

This sort of thing can happen when you try to get an XML document from an HTTP server, and get an error page or a security message instead, for example, but don't let that idea limit where you look.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic