Good day to all
I have the following request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.ampersand.mx" xmlns:mod="http://modelo.ampersand.mx"> <soapenv:Header/> <soapenv:Body> <ws:PointsExchangeFR2CPCion> <ws:request> <mod:accountNumber>6508</mod:accountNumber> <mod:activityDate>2014-09-01T00:00:00</mod:activityDate> <mod:amountKM>1500</mod:amountKM> <mod:externalAuthorizationCode>Id unico Grupo Posadas</mod:externalAuthorizationCode> </ws:request> </ws:PointsExchangeFR2CPCion> </soapenv:Body> </soapenv:Envelope> my camel route command to call the transformation: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" 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/"> <xsl:template match="/"> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="http://skywards.com/Mercator.CRIS.WS"> <soapenv:Body> <mer:CreateAccrualActivity> <mer:programmeMemberEntities> <mer:ProgrammeMemberActivity> <mer:PersonID> <mer:IsQuery>false</mer:IsQuery> <mer:QueryString></mer:QueryString> <mer:ContainsQueryOperators>false</mer:ContainsQueryOperators> <mer:HasValue>false</mer:HasValue> <mer:Value>0</mer:Value> </mer:PersonID> <mer:NumberOfActivityUnits> <mer:IsQuery>false</mer:IsQuery> <mer:QueryString></mer:QueryString> <mer:ContainsQueryOperators>false</mer:ContainsQueryOperators> <mer:HasValue>true</mer:HasValue> *<mer:Value><xsl:value-of select="ws:PointsExchangeFR2CPCion/ws:request/mod:amountKM"/></mer:Value>* </mer:NumberOfActivityUnits> <mer:Bcp></mer:Bcp> <mer:PmaDate> <mer:IsQuery>false</mer:IsQuery> <mer:QueryString></mer:QueryString> <mer:ContainsQueryOperators>false</mer:ContainsQueryOperators> <mer:HasValue>true</mer:HasValue> *<mer:Value><xsl:value-of select="ws:PointsExchangeFR2CPCion/ws:request/mod:activityDate"/></mer:Value>* </mer:PmaDate> <mer:RedeemedStatus></mer:RedeemedStatus> <mer:FareBasis></mer:FareBasis> <mer:Inv_by_ptnr_date> <mer:IsQuery>false</mer:IsQuery> <mer:QueryString></mer:QueryString> <mer:ContainsQueryOperators>false</mer:ContainsQueryOperators> <mer:HasValue>false</mer:HasValue> <mer:Value>0001-01-01T00:00:00</mer:Value> </mer:Inv_by_ptnr_date> <mer:RevCode>COMP</mer:RevCode> <mer:PNRName></mer:PNRName> <mer:HuetCode></mer:HuetCode> <mer:RpsCode></mer:RpsCode> <mer:Rps_code_after_time_limit></mer:Rps_code_after_time_limit> <mer:BilledCancelledAct></mer:BilledCancelledAct> <mer:CouponNumber> <mer:IsQuery>false</mer:IsQuery> <mer:QueryString></mer:QueryString> <mer:ContainsQueryOperators>false</mer:ContainsQueryOperators> <mer:HasValue>false</mer:HasValue> <mer:Value>0</mer:Value> </mer:CouponNumber> <mer:Diff></mer:Diff> *<mer:ActiveCardNo><xsl:value-of select="ws:PointsExchangeFR2CPCion/ws:request/mod:accountNumber"/></mer:ActiveCardNo>* <mer:InsertRejectedActivities>false</mer:InsertRejectedActivities> <mer:NewRowStatus>false</mer:NewRowStatus> <mer:ForceUpdate>false</mer:ForceUpdate> <mer:TerminalID></mer:TerminalID> *<mer:ExternalAuthorizationCode><xsl:value-of select="ws:PointsExchangeFR2CPCion/ws:request/mod:externalAuthorizationCode"/></mer:ExternalAuthorizationCode>* <mer:NumberOfUnits> <mer:IsQuery>false</mer:IsQuery> <mer:QueryString></mer:QueryString> <mer:ContainsQueryOperators>false</mer:ContainsQueryOperators> <mer:HasValue>false</mer:HasValue> <mer:Value>0</mer:Value> </mer:NumberOfUnits> <mer:IsCurrency></mer:IsCurrency> <mer:Source>?</mer:Source> </mer:ProgrammeMemberActivity> </mer:programmeMemberEntities> </mer:CreateAccrualActivity> </soapenv:Body> </soapenv:Envelope> </xsl:template> </xsl:stylesheet> camel route looks like this endpoint with dataFormat MESSAGE <cxf:cxfEndpoint id="PointsExchangeFR2CPProxy" address="/PointsExchangeFR2CPService" wsdlURL="wsdl/proxy.wsdl"/> <cxf:cxfEndpoint id="ClubPremierEndpoint" address="http://cr5w5cptest.clubpremier.com/Mercator.CRIS.WebService.TESTCRIS/MemberWebService.asmx" wsdlURL="wsdl/MemberWebService.wsdl" bindingId="s:tns:MemberWebServiceSoap" /> <bean id="transformerFactoryImpl" class="net.sf.saxon.TransformerFactoryImpl" /> <camel:camelContext id="mx.ampersand.fiestarewardsservices.PointsExchangeFR2CP-Proxy" xmlns="http://camel.apache.org/schema/spring" streamCache="true"> <camel:jmxAgent id="agent" disabled="true"/> <camel:route id="proxy"> <camel:from uri="cxf:bean:PointsExchangeFR2CPProxy?dataFormat=MESSAGE&loggingFeatureEnabled=true" /> <camel:log message="+++++++++++++++++++ENTRO AL SERVICIO++++++++++++++++++++++" /> <camel:to uri="log:output?showAll=true" /> <camel:to uri="xslt:xslt/ClubPremier/request.xslt?transformerFactory=#transformerFactoryImpl" /> <camel:log message="Request antes de enviar a CP: *********** ${body}" /> <camel:to uri="cxf:bean:ClubPremierEndpoint?dataFormat=MESSAGE&allowStreaming=true" /> <camel:log message="regreso del servicio............................--.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.4" /> <camel:convertBodyTo type="org.apache.camel.component.cxf.CxfPayload"/> <camel:to uri="log:output?showAll=true" /> <camel:to uri="xslt:xslt/ClubPremier/response.xslt" /> <camel:to uri="log:output?showAll=true" /> </camel:route> </camel:camelContext> 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.