You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tysnes Are Thobias <ar...@edb.com> on 2005/03/29 09:40:25 UTC
FW: faultcodes in SoapFaults thrown from Axis
Hello developers :o)
Would be happy if someone could help me with a list of all possible
faultcodes which Axis may throw
Cheers,
Are T. Tysnes
-----Original Message-----
From: Tysnes Are Thobias
Sent: 17. mars 2005 11:38
To: axis-user@ws.apache.org
Subject: RE: faultcodes in SoapFaults thrown from Axis
Hello!
Looks like the SOAPService handler throws the "Server" faultcode if a
RuntimeException is thrown.
Should preferably also be located in Constants.java
Anyone knows any other "hidden" faultcodes ? :o)
What about these !?
JavaProvider.java
line 116 - throw new AxisFault("NoSuchObject", null, null,
null);
line 276 - throw new AxisFault("Server.NoClassForService",
Messages.getMessage("noOption00",
getServiceClassNameOptionName(), serviceName),
null, null);
AxisServer.java
line 141 - throw new AxisFault("Server.disabled",
Messages.getMessage("serverDisabled00"), null, null);
line 269 - throw new AxisFault("Server.NoService",
Messages.getMessage("noService05",
"" + msgContext.getTargetService()), null, null );
line 349 - throw new AxisFault("Server.disabled",
Messages.getMessage("serverDisabled00"), null, null);
+++++
(just search for 'new AxisFault("' in the src folder)
My current list is:
- Client
- Server
- Server.generalException
- Server.userException
- VersionMismatch
- MustUnserstand
- Server.NoService
Dims !?
Cheers,
Are T. Tysnes
-----Original Message-----
From: Sunil Kothari [mailto:sunil.kothari@majoris.com]
Sent: 15. mars 2005 14:48
To: axis-user@ws.apache.org
Subject: Re: faultcodes in SoapFaults thrown from Axis
Yes......Those are the general categories of errors. I have seen it
well documented somewhere but don't no where exactly.
Sunil Kothari
DISCLAIMER:
Any Information contained or transmitted in this e-mail and / or
attachments may contain confidential data, proprietary to Majoris
Systems Pvt Ltd., and / or the authors of the information and is
intended for use only by the individual or entity to which it is
addressed. If you are not the intended recipient or email appears
to have been sent to you by error, you are not authorised to access,
read, disclose, copy, use or otherwise deal with it. If you
have received this e-mail in error, please notify us immediately at
mail to: sysadmin@majoris.com and delete this mail from your records.
This is to notify that Majoris Systems Pvt Limited shall have no
liability or obligation, legal or otherwise, for any errors,
omissions, viruses or computer problems experienced as a result of
this transmission since data over the public Internet cannot be
guaranteed to be secure or error-free.
----- Original Message -----
From: "Tysnes Are Thobias" <ar...@edb.com>
Date: Tuesday, March 15, 2005 6:36 pm
Subject: faultcodes in SoapFaults thrown from Axis
>
> Hello!
>
> It looks to me that Axis throws SoapFaults with the following
> faultcodes:
>
> - Client
> - Server.generalException
> - Server.userException
> - VersionMismatch
> - MustUnserstand
> - Server.NoService
>
> Wonder if someone could confirm this :o)
>
> Cheers,
> Are T. Tysnes
>