users@jax-ws.java.net

Re: _at_WebFault namespace customization

From: Dima Gutzeit <dima_at_mailvision.com>
Date: Sat, 21 Oct 2006 13:32:33 +0200

Can anyone comment on this please :-) ?
  ----- Original Message -----
  From: Dima Gutzeit
  To: users_at_jax-ws.dev.java.net
  Sent: Thursday, October 19, 2006 9:39 AM
  Subject: @WebFault namespace customization


  Hello,

  I have several webservices in my application, and each one of them can throw a general exception which resides in common namespace of my application.
  Each webservice has its own namespace.

  After building the webservices and generating wsdl and schema I see that each application defines its own exception object in its own name space, instead of using the exception from common namespace.

  The webfault definition has the targetnamespace attribute :

  @WebFault(name="testException", targetNamespace=http://test.blah.common)

  It seems that webfault behavior differes from simple object behavior in this case.
  Any pointers would be appriciated.


  Regards,
  Dima Gutzeit.