users@jax-ws.java.net

_at_WebFault namespace customization

From: Dima Gutzeit <dima_at_mailvision.com>
Date: Thu, 19 Oct 2006 09:39:31 +0200

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.