2009/1/11 quzhe <[email protected]>: > > hi, I need to get the stream of soap response, and send it to another > program, then this program will using xpath get some data in the soap > response xml. how can I get the soap response with xml format? thank you
You can send *and* receive raw XML easily using a Dispatch client: http://cwiki.apache.org/CXF20DOC/dispatch-clients.html If you wanted to submit the request using databound objects (e.g. JAXB or Aegis) but receive the message as raw XML, I'm not sure how you'd do that. Probably by setting up an interceptor early in the client's inbound interceptor chain. This might help: http://cwiki.apache.org/CXF20DOC/interceptors.html There might be easier ways though, any other suggestions? Andrew. -- New site launched: http://biotext.org.uk/ I am retiring my old email addresses. Please use [email protected] (i.e. andrew) in the future.
