xslt xsi attribute not allowed

2017-08-25 Thread Matthew Shaw
Hi, I'm using camel 2.19.2 and getting the following error when trying to run an xslt transformation over my message. Caused by: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXException: "xsi:type" attribute is not allowed on the

Re: non-strings in properties/headers

2017-08-25 Thread gludington
It appears date was merely a conflicting name choice; when I use a different name, e.g. mydate, it comes through fine (though serialized over my mq broker as a Long, not a Date, but thats a different issue). Also, putting in Maps and similar come through fine as well. Thanks, Greg -- View this

non-strings in properties/headers

2017-08-25 Thread gludington
Is it possible to store/retrieve non string values in properties or headers using XML? Perhaps the simplest example illustrating what I would like to do is: new java.util.Date() But when I retrieve this, it is a String. I do not need to user javaScript specifically, but is there a syntax in XML

DataFormat.PAYLOAD binding error

2017-08-25 Thread Matthew Shaw
Hi All, I'm using the cxf endpoint and having a route exposing a web service. My unit test is sending a soap request that looks like the following http://www.w3.org/2003/05/soap-envelope"; xmlns:tim="http://services.ambulance.qld.gov.au/data/messaging/entity/services/corporate/hri/mta/eta/timesh