Tuesday, September 30, 2008

Consuming fault messages with JAX-WS

As I discovered whilst writing my presentation for Jazoon due to a programming error it was not possible to consume a SOAP Fault message using JAX-WS. You have to write a servlet instead. It looks like a fix for this is going into JAX-WS 2.1.5. This is good news although I can't seem to see the revision in the source code browser to check it will work.


Shaik said...

Hi Gerard Davison,

We need to consume SOAP fault as mentioned in this jax-ws bug.

When we tried this, security processing happening on incoming fault message and its getting decrypted. But actual fault processing web service operation is not invoked.My soap messages uses WS-Security & WS-trust.

I am using Metro 1.4, Can you please help me to consume soap fault.

email: jshaik@jamcracker.com

Gerard Davison said...

Are you using JAX-WS 2.1.5?