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 Jarek Gawor <jg...@gmail.com> on 2008/04/04 04:40:46 UTC
problem with XMLFaultCode and custom fault codes
I think there is a problem with the XMLFaultCode class with handling
custom fault codes. The way it handles custom fault codes by modifying
CUSTOM_SOAP11_ONLY enum value is just not thread safe (if I understand
enums right). I think the XMLFaultCode should be turned into a class
and each custom fault code would be a separate XMLFaultCode instance.
I have a fix ready if we agree on the problem and the solution.
Jarek
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: problem with XMLFaultCode and custom fault codes
Posted by Jarek Gawor <jg...@gmail.com>.
Sure. I created https://issues.apache.org/jira/browse/AXIS2-3703 with a patch.
Jarek
On Thu, Apr 3, 2008 at 11:00 PM, Davanum Srinivas <da...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jarek,
>
> Could you please post the patch?
>
> thanks,
> dims
>
>
>
> Jarek Gawor wrote:
> | I think there is a problem with the XMLFaultCode class with handling
> | custom fault codes. The way it handles custom fault codes by modifying
> | CUSTOM_SOAP11_ONLY enum value is just not thread safe (if I understand
> | enums right). I think the XMLFaultCode should be turned into a class
> | and each custom fault code would be a separate XMLFaultCode instance.
> |
> | I have a fix ready if we agree on the problem and the solution.
> |
> | Jarek
> |
> | ---------------------------------------------------------------------
> | To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> | For additional commands, e-mail: axis-dev-help@ws.apache.org
> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Cygwin)
>
> iD8DBQFH9ZnTgNg6eWEDv1kRAi5WAKD5qYQ3uyeDaP/MT3yMKRs/PC9eCQCg0gOQ
> +EeIWsho2rjPheKF7RzwhXA=
> =/sXF
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: problem with XMLFaultCode and custom fault codes
Posted by Davanum Srinivas <da...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jarek,
Could you please post the patch?
thanks,
dims
Jarek Gawor wrote:
| I think there is a problem with the XMLFaultCode class with handling
| custom fault codes. The way it handles custom fault codes by modifying
| CUSTOM_SOAP11_ONLY enum value is just not thread safe (if I understand
| enums right). I think the XMLFaultCode should be turned into a class
| and each custom fault code would be a separate XMLFaultCode instance.
|
| I have a fix ready if we agree on the problem and the solution.
|
| Jarek
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
| For additional commands, e-mail: axis-dev-help@ws.apache.org
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
iD8DBQFH9ZnTgNg6eWEDv1kRAi5WAKD5qYQ3uyeDaP/MT3yMKRs/PC9eCQCg0gOQ
+EeIWsho2rjPheKF7RzwhXA=
=/sXF
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org