perfsonar-dev - Re: [pS-dev] Help needed for the design of the authorization request
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To: "Jeff W. Boote" <>
- Cc: Cándido Rodríguez Montes <>, " List" <>, Zurawski Jason <>
- Subject: Re: [pS-dev] Help needed for the design of the authorization request
- Date: Mon, 16 Jun 2008 13:02:44 +0200
Jeff W. Boote wrote:
On Jun 3, 2008, at 9:23 AM, Jason Zurawski wrote:
Cándido;
I think the request should be XML and not 'string' data. This would allow services/clients to use the full set of XML api's to look at requests/responses. (Otherwise, why are we messing with this bloated XML stuff anyway?)
Yes, I agree with you but I don't know how to do it. I can have the Document or the String of the <Request> element but how I integrate it in a nmwg message? I guess I should use the org.ggf.ns.nmwg.base.v2_0.Element class but it wasn't work.
So, any help for adding the <Request> element inside an <aa:subject> element? :-)
To do this you would need to add the necessary objects and handlers to the nmwg object structure.
Or stop using the object marshaling model and just use dom directly or perhaps a push-pull model... Not sure where that is on the Java developers plans, but the marshaling model has obviously shown itself to be a pain in more ways than one and I don't think we should be crafting message formats due to this implementation limitation. (Especially given the fact that the main Java developers have already expressed the wish to remove it.)
Probably the short-term solution in the Java implementation is as Jason says: Add the needed objects into the nmwg library.
Hi,
In psBase2 the NMWG implementation will be DOM-like, so all 'unknown' elements will be stored (or not) into generic Element.
There will be more options to store such requests (just a string), etc. so I think the best 'short term' solution is leave it as is and wait for psBase2.
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================
- 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.