This content has been marked as final.
Show 2 replies
-
1. Re: HTTP 415 when calling webservice
davsclaus Mar 2, 2011 2:41 AM (in response to labo32_delaboe)You can set it as a header as they will become HTTP headers.
<setHeader headerName="Content-Type"> <constant>xxxx</constant> </setHeader>
-
2. Re: HTTP 415 when calling webservice
labo32_delaboe Mar 2, 2011 3:04 AM (in response to davsclaus)Thanks, the solution works !
<route> <from uri="quartz://timerName?cron=0 * * * * ?"></from> <setHeader headerName="Content-Type"> <constant>text/xml</constant> </setHeader> <bean ref="openligaInput" method="addInput"></bean> <to uri="log:LogInput"></to> <to uri="http://www.openligadb.de/Webservices/Sportsdata.asmx"></to> <to uri="log:LogOutput"></to> </route>