Hi Claus I had now modified my code : <route> <from uri="file:src/data?noop=true"/> <log message="NextGen Track"/> <setExchangePattern pattern="InOut"/> <to pattern="InOut" uri="jetty:http://esbqa.dnb.com:8192/CommonServices/services/DNBCompanyService/match/main.wsdl"/> <process ref="nextgenProcessor"/> </route>
but now i am getting below error can you please help it will be really helpful: [pache.camel.spring.Main.main()] MainSupport INFO Apache Camel 2.15.1.redhat-620133 starting [pache.camel.spring.Main.main()] SpringCamelContext INFO Apache Camel 2.15.1.redhat-620133 (CamelContext: camel-1) is starting [pache.camel.spring.Main.main()] ManagedManagementStrategy INFO JMX is enabled [pache.camel.spring.Main.main()] DefaultTypeConverter INFO Loaded 193 type converters [pache.camel.spring.Main.main()] SpringCamelContext INFO AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. [pache.camel.spring.Main.main()] SpringCamelContext INFO StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html [pache.camel.spring.Main.main()] FileEndpoint INFO Endpoint is configured with noop=true so forcing endpoint to be idempotent as well [pache.camel.spring.Main.main()] FileEndpoint INFO Using default memory based idempotent repository with cache max size: 1000 [pache.camel.spring.Main.main()] SpringCamelContext INFO Route: route1 started and consuming from: Endpoint[file://src/data?noop=true] [pache.camel.spring.Main.main()] SpringCamelContext INFO Total 1 routes, of which 1 is started. [pache.camel.spring.Main.main()] SpringCamelContext INFO Apache Camel 2.15.1.redhat-620133 (CamelContext: camel-1) started in 0.949 seconds [1) thread #0 - file://src/data] rFileExclusiveReadLockStrategy WARN Deleting orphaned lock file: src\data\message1.xml.camelLock [1) thread #0 - file://src/data] rFileExclusiveReadLockStrategy WARN Deleting orphaned lock file: src\data\message2.xml.camelLock [1) thread #0 - file://src/data] route1 INFO NextGen Track [1) thread #0 - file://src/data] route1 INFO NextGen Track [CamelJettyClient(0x114d479)-17] GenericFileOnCompletion WARN Rollback file strategy: org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy@1aec48e for file: GenericFile[message1.xml] [CamelJettyClient(0x114d479)-17] DefaultErrorHandler ERROR Failed delivery for (MessageId: ID-PC241549-65511-1448631606769-0-1 on ExchangeId: ID-PC241549-65511-1448631606769-0-2). Exhausted after delivery attempt: 1 caught: org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://esbqa.dnb.com:8192/CommonServices/services/DNBCompanyService/match/main.wsdl with statusCode: 400 Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [route1 ] [route1 ] [file://src/data?noop=true ] [ 635] [route1 ] [log1 ] [log ] [ 3] [route1 ] [setExchangePattern] [setExchangePattern[InOut] ] [ 0] [route1 ] [to1 ] [jetty:http://esbqa.dnb.com:8192/CommonServices/services/DNBCompanyService/matc] [ 629] Exchange --------------------------------------------------------------------------------------------------------------------------------------- Exchange[ Id ID-PC241549-65511-1448631606769-0-2 ExchangePattern InOut Headers {breadcrumbId=ID-PC241549-65511-1448631606769-0-1, CamelFileAbsolute=false, CamelFileAbsolutePath=D:\Jboss-Camel\workspace\Next2Gen Project\src\data\message1.xml, CamelFileContentType=text/xml, CamelFileLastModified=1448615142300, CamelFileLength=156, CamelFileName=message1.xml, CamelFileNameConsumed=message1.xml, CamelFileNameOnly=message1.xml, CamelFileParent=src\data, CamelFilePath=src\data\message1.xml, CamelFileRelativePath=message1.xml, CamelRedelivered=false, CamelRedeliveryCounter=0} BodyType org.apache.camel.component.file.GenericFile Body [Body is file based: GenericFile[message1.xml]] ] Stacktrace --------------------------------------------------------------------------------------------------------------------------------------- org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://esbqa.dnb.com:8192/CommonServices/services/DNBCompanyService/match/main.wsdl with statusCode: 400 at org.apache.camel.component.jetty.DefaultJettyHttpBinding.populateHttpOperationFailedException(DefaultJettyHttpBinding.java:161) at org.apache.camel.component.jetty.DefaultJettyHttpBinding.populateResponse(DefaultJettyHttpBinding.java:66) at org.apache.camel.component.jetty8.JettyContentExchange8.doTaskCompleted(JettyContentExchange8.java:188) -- View this message in context: http://camel.465427.n5.nabble.com/How-to-call-external-client-using-camel-tp5774475p5774485.html Sent from the Camel Development mailing list archive at Nabble.com.