java - Apache Camel is not capturing the SOAP service response -


i'm using apache camel 2.19.2 dsl , trying consume soap service hosted in different server. camel code -

soapjaxbdataformat soap = new soapjaxbdataformat("<service class package path>"); soap.setcontextpath("root element package path"); soap.setversion("1.1"); from("direct:invokesoapservice")     .process(new processor1()) //constructs main message body set body of soap-envelope     .removeheaders("*")     .setheader(exchange.soap_action, simple("soap action of service asdl"))     .setheader(exchange.http_method, simple("post"))     .setheader(exchange.content_type, constant("text/xml"))     .marshal(soap)     .log(logginglevel.debug, log, "request xml===========>${body}")     .log(logginglevel.debug, log, "posting request server url")     .to("cxf://http://<ip>:<port>/<wsdl server location without ?wsdl>?serviceclass=<qualified service class name without .class extension>&dataformat=message&synchronous=true&continuationtimeout=100000&servicename={<target-name-space-name>}<service-name>&endpointname={<target-name-space-name>}<service port name>")     .log(logginglevel.debug, log, "posted request server url")     .log(logginglevel.debug, log, "received response server ==========>${body}") .end(); 

application able generate soap-request , able post same server , server sending soap response (as confirmed owner of soap server) can't see response @ application end.

it printing request xml using below log:

request xml===========> <soap request xml> posting request server url **org.apache.camel.component.cxf.feature.abstractdataformatfeature.removeinterceptors><removing interceptor org.apache.cxf.interceptor.clientfaultconverter@58811c5b org.apache.camel.component.cxf.feature.abstractdataformatfeature.removeinterceptors><removing interceptor org.apache.cxf.jaxws.interceptors.wrapperclassininterceptor@1d25437 org.apache.camel.component.cxf.feature.abstractdataformatfeature.removeinterceptors><removing interceptor org.apache.cxf.jaxws.interceptors.holderininterceptor@4451805d org.apache.camel.component.cxf.feature.abstractdataformatfeature.removeinterceptors><removing interceptor org.apache.cxf.jaxws.interceptors.wrapperclassoutinterceptor@2514dd3d org.apache.camel.component.cxf.feature.abstractdataformatfeature.removeinterceptors><removing interceptor org.apache.cxf.jaxws.interceptors.holderoutinterceptor@75a76e00** posted request server url received response server ==========> **printing request xml** 

could please me understand issue, why camel not able capture response! because of camel internal remove methods?

could please me capture response.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -