You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Dan Jemiolo (JIRA)" <ji...@apache.org> on 2007/02/19 21:51:05 UTC

[jira] Closed: (MUSE-180) SimpleResourceRouter should throw a ResourceUnknownException when a unknown resource is requested

     [ https://issues.apache.org/jira/browse/MUSE-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Jemiolo closed MUSE-180.
----------------------------

    Resolution: Fixed

No new comments this month, so I am going to assume the last fix did work.

> SimpleResourceRouter should throw a ResourceUnknownException when a unknown resource is requested
> -------------------------------------------------------------------------------------------------
>
>                 Key: MUSE-180
>                 URL: https://issues.apache.org/jira/browse/MUSE-180
>             Project: Muse
>          Issue Type: Bug
>          Components: Core Engine - Routing and Serialization
>    Affects Versions: 2.0.0 M1, 2.0.0 M2, 2.0.0, 2.1.0, 2.2.0
>            Reporter: Oliver Waeldrich
>         Assigned To: Dan Jemiolo
>             Fix For: 2.2.0
>
>
> The SimpleResourceRouter implementation should throw a ResourceUnknownException when a unknown resource is requested. This is stated in the WS resource spec:
> wsrf-rw:ResourceUnknownFault 
> The resource identified in the message is not known to the Web service. The fault may contain additional resource- or application-specific information in it.
> Currently in the method SimpleResourceRouter.getTargetResource() only a SoapFault is thrown. This makes it difficult for applications to properly handle BaseFaults. A patch would simply be:
> SimpleResourceRouter.getTargetResource() 
>             ...
>             throw new ResourceUnknownFault(_MESSAGES.get("DestinationUnreachable", filler));
>             //throw new SoapFault(_MESSAGES.get("DestinationUnreachable", filler));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org