You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Ashley (JIRA)" <ju...@ws.apache.org> on 2011/07/07 05:35:16 UTC
[jira] [Commented] (JUDDI-508) delete_tModel not working with
LocalTransport(juddi-client)
[ https://issues.apache.org/jira/browse/JUDDI-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061022#comment-13061022 ]
Ashley commented on JUDDI-508:
------------------------------
similar to issue 508 - delete_tModel in operation map has the similar caps issue.....
> delete_tModel not working with LocalTransport(juddi-client)
> ------------------------------------------------------------
>
> Key: JUDDI-508
> URL: https://issues.apache.org/jira/browse/JUDDI-508
> Project: jUDDI
> Issue Type: Bug
> Components: uddi-client
> Affects Versions: 3.0.4
> Environment: OS: Windows
> App Server: WebSphere
> DB: DB2
> Reporter: Ashley
> Assignee: Kurt T Stam
> Priority: Critical
> Labels: juddi, uddi
>
> We are using jUDDI in our application and interacting to it using Local Transport (using scout) we are facing a problem while deleting any TModel and we have resolved this by fixing it in "UDDIPublicationService.java"
> Details of fix
> In RegistryV3Impl. deleteTModel() method before deleting the Tmodel it prepares JAXBElement with operation name as "delete_tModel" (by invoking ObjectFactory.deleteTModel()) and finally invokes UDDIPublicationService.publish() it returns "NullPointerException" due to mismatch in the case while getting the Appropriate Handler instance i.e. UDDIPublicationService can't get the appropriate "Handler" instance with the operation "delete_tModel" because this class has Handler with key "delete_tmodel".
> we have fixed by storing the Handler instance with key "delete_tModel" (changing "m" to Caps) in "org.apache.juddi.v3.client.transport.wrapper .UDDIPublicationService.java"
> code snippet
> public class UDDIPublicationService {
> ..
> ..
> private HashMap<String, Handler> operations = null;
> public UDDIPublicationService() {
> super();
> ...
> operations.put("delete_tModel", new Handler("deleteTModel", DeleteTModel.class));//added by lokesh
> ...
> }
> ...
> ...
> }
> please help us in getting this fix in the official "juddi-client" jar
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira