perfsonar-dev - Re: [pS-dev] Help needed for the design of the authorization request
Subject: perfsonar development work
List archive
- From: "Jeff W. Boote" <>
- To: Cándido Rodríguez Montes <>
- Cc: " List" <>, Zurawski Jason <>
- Subject: Re: [pS-dev] Help needed for the design of the authorization request
- Date: Wed, 4 Jun 2008 12:11:58 -0600
Hi Candido, I realize that you are fundamentally trying to use pS-base without modification - but given all the complaining I've heard from Java developers about the parsing model in the Java implementation for the past 2 years - I am surprised no one has bypassed it yet. It doesn't look that hard if you are ok just using the dom as provided by axis. (Granted, this solution is probably not appropriate for services that deal with large requests/responses - but I would expect that it should be fine for the AS.) I think what you need to do to support this is to catch the parsing exception in RequestHandler.java and then don't do the marshaling. You can easily interrogate the message type and initialize your service the same way as the current RequestHandler. Then you would need to modify the the MessageHandlerFactory to support a non-marshaling request handler in place of the marshaling one. And your service method would then need a different method that handled dom instead of the nmwg objects. I'm sure I'm missing a few things in here since I only looked for a couple of minutes and I am not all that familiar with the Java implementation - but fundamentally I don't think it would be that hard to provide service message handlers that deal with dom instead of nmwg objects in parallel with the existing method. I think it is certainly better to fix the implementation than to make decisions on the message format based on the limitations of one implementation - especially when the developers of that implementation want it changed. jeff On Jun 4, 2008, at 9:09 AM, Cándido Rodríguez Montes wrote:
|
- Re: [pS-dev] Help needed for the design of the authorization request, Jason Zurawski, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jason Zurawski, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Cándido Rodríguez Montes, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jason Zurawski, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Cándido Rodríguez Montes, 06/04/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/04/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Cándido Rodríguez Montes, 06/07/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Maciej Glowiak, 06/16/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/16/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Maciej Glowiak, 06/16/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Cándido Rodríguez Montes, 06/17/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Roman Lapacz, 06/17/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jason Zurawski, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Cándido Rodríguez Montes, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jason Zurawski, 06/03/2008
- Re: [pS-dev] Help needed for the design of the authorization request, Jeff W. Boote, 06/03/2008
Archive powered by MHonArc 2.6.16.