Hi, You cannot turn a MESSAGE data format message into a PAYLOAD as the first one is a stream which has the SOAP Envelop and last one doesn’t has any SOAP Envelop.
Regards, -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 4, 2014 at 1:35:56 PM, aioria3077 (aioria3...@gmail.com) wrote: > Good day to all > > > I have the following request: > > > > xmlns:ws="http://ws.ampersand.mx" xmlns:mod="http://modelo.ampersand.mx"> > > > > > 6508 > 2014-09-01T00:00:00 > 1500 > Id unico Grupo > Posadas > > > > > > my camel route command to call the transformation: > > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:ws="http://ws.ampersand.mx" xmlns:mod="http://modelo.ampersand.mx" > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:mer="http://skywards.com/Mercator.CRIS.WS"> > > > > > > false > > > false > false > 0 > > > false > > > false > true > *> select="ws:PointsExchangeFR2CPCion/ws:request/mod:amountKM"/>* > > > > false > > > false > true > *> select="ws:PointsExchangeFR2CPCion/ws:request/mod:activityDate"/>* > > > > > false > > > false > false > 0001-01-01T00:00:00 > > COMP > > > > > > > > false > > > false > false > 0 > > > *> select="ws:PointsExchangeFR2CPCion/ws:request/mod:accountNumber"/>* > > false > false > false > > *> > select="ws:PointsExchangeFR2CPCion/ws:request/mod:externalAuthorizationCode"/>* > > > false > > > false > false > 0 > > > ? > > > > > > > > > > camel route looks like this endpoint with dataFormat MESSAGE > > > > > address="/PointsExchangeFR2CPService" > wsdlURL="wsdl/proxy.wsdl"/> > > > > > > address="http://cr5w5cptest.clubpremier.com/Mercator.CRIS.WebService.TESTCRIS/MemberWebService.asmx" > > wsdlURL="wsdl/MemberWebService.wsdl" > bindingId="s:tns:MemberWebServiceSoap" > /> > > > > class="net.sf.saxon.TransformerFactoryImpl" /> > > > > > id="mx.ampersand.fiestarewardsservices.PointsExchangeFR2CP-Proxy" > xmlns="http://camel.apache.org/schema/spring" streamCache="true"> > > > > > > > uri="cxf:bean:PointsExchangeFR2CPProxy?dataFormat=MESSAGE&loggingFeatureEnabled=true" > > > /> > > > > > > > > uri="xslt:xslt/ClubPremier/request.xslt?transformerFactory=#transformerFactoryImpl" > > > /> > > > > > uri="cxf:bean:ClubPremierEndpoint?dataFormat=MESSAGE&allowStreaming=true" > /> > > > > /> > > > type="org.apache.camel.component.cxf.CxfPayload"/> > > > > > > > > > > > > > these things I miss looking at different sites and does not make me > request_proxy mapping to request_original, xslt will not use much and I feel > that the problem is out there, I miss this kind of changes but when the > services, I stuck with dataFormat PAYLOAD, this specific service I did not > work with that format. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/There-is-a-problem-with-the-dataFormat-MESSAGE-and-an-XSLT-transformation-tp5758477.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >