« Recipe for the Perfect Margarita | Main | 97 Things Every Software Architect Should Know on Kindle, iPhone, in Japanese »

Comments

mark

Very helpful information. Is there a way to do this without the need for the bindings.xml artifact? (ie: just using annotations in the code) Thanks

mark

One other clarification/question. In Section II, the service class shows: throws CheckVerifyFault ... but in the original code in Section I, it shows: throws MyException Is this correct?...

eben.hewitt

Mark: You're right, should be MyException.

phil

this is an awesome post. I just stumbled on this issue today and after reading this article I'm sure I'll have no problem solving it.

It's true that there is little to no documentation on exceptions with jax-ws.

Thanks!

phil

This is what initially through me off:

" 3.6 javax.xml.ws.WebFault

This annotation is generated by the JAX-WS tools into service specific exception classes generated from a WSDL to customize to the local and namespace name of the fault element and the name of the fault bean and to mark the service specific exception as one generated from WSDL. Developers should not use this annotation themselves."

https://jax-ws.dev.java.net/jax-ws-21-ea3/docs/annotations.html#3.6%20javax.xml.ws.WebFault|outline

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

My Photo

Reading

  • Jeff Davies, David Schorow, Samrat Ray, and David Rieber: The Definitive Guide to SOA: Oracle Service Bus, Second Edition
  • Pat Walsh: 78 Reasons Why Your Book May Never Be Published and 14 Reasons Why It Just Might
  • Thomas Erl: SOA Design Patterns
  • Thomas Erl: Web Service Contract Design and Versioning for SOA
  • Richard Monson-Haefel: 97 Things Every Software Architect Should Know
  • Eben Hewitt: Java SOA Cookbook
  • Rex Stout: Death of a Dude

August 2009

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31