juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashley (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Issue Comment Edited] (JUDDI-508) delete_tModel not working with LocalTransport(juddi-client)
Date Thu, 07 Jul 2011 16:55:18 GMT

    [ https://issues.apache.org/jira/browse/JUDDI-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061022#comment-13061022
] 

Ashley edited comment on JUDDI-508 at 7/7/11 4:54 PM:
------------------------------------------------------

similar to issue 508 - delete_tModel & save_tModel too....in operation map has the similar
caps issue.....request to please check the capitalisazions in objectfactory of uddi-ws-3.0.4..

      was (Author: callingashley@hotmail.com):
    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

        

Mime
View raw message