• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Not able to transform a message in Mule using TransformMessage component

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic