Hi Guy
On 15/02/12 11:29, Guy Pardon wrote:

Thanks,

But isn't there a way to avoid an interceptor here? I mean, getting access to 
the resulting SOAP response message in the client?


I think for JAX-WS you need to use Dispatcher<DOMSource> and use it with CXF XPathUtils which accepts a Node in one of its methods.

Sergey


Guy

On 15-feb-2012, at 10:44, Freeman Fang wrote:

Hi,

You can write a customer inInterceptor for client side to do anything you want, 
of course include the XPath filter operation.
If your requirement is too complex, Apache Camel[1] is more suitable to do it.

[1]http://camel.apache.org/

Freeman
On 2012-2-15, at 下午4:19, Guy Pardon wrote:

Hi,

Any pointers on how I can write a JAXWS client that uses XPath to filter the 
response from a service? For instance, to extract only the known content, like 
in consumer-driven contracts.

Thanks
Guy

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com












--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to