I didn't need to annotate them, my example was WSDL-first.  wsdl2java
creates Java objects corresponding to those exceptions, now whether it
adds annotations within those objects, I didn't bother to check, it
doesn't matter for me.

If you are doing Java-first, maybe the @WebFault annotation will help
you.  Google or wait for someone here more knowledgeable.  I don't know
much about that annotation.

Glen

Am Donnerstag, den 07.02.2008, 14:20 +1000 schrieb Rob Barrett:
> Thanks Glen.
> 
> How did you annotate these exceptions?
> 
> import org.example.wordlookup.BasicFault;
> import org.example.wordlookup.EntryAlreadyExistsFault;
> import org.example.wordlookup.EntryNotFoundFault;
> 
> 
> Cheers, Rob
> 
> 
> On Feb 7, 2008 1:11 PM, Glen Mazza <[EMAIL PROTECTED]> wrote:
> > http://www.jroller.com/gmazza/date/20071019 ?  Check steps #4, #6, and
> > #10, for the WSDL, service, and client, respectively.
> >
> > HTH,
> > Glen
> >
> > Am Donnerstag, den 07.02.2008, 07:50 +1000 schrieb Rob Barrett:
> >
> > > Does anyone have an example of how to create a soap:fault from a
> > > custom exception thrown by a JAX-WS service?
> > >
> > > Cheers, Rob
> >
> >

Reply via email to