Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-05-13 Thread Manish Sinha
Hi Gary, So this mens I need to have a look at wadllib and lazr.restt projects. Let me summerize what I understoo. wadllib is a parser for wadl files. It takes in a wadl string and creates the corrospoding tree to corrospond with the schema so that you can acess any method like application.resour

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-05-13 Thread Gary Poster
On May 13, 2010, at 6:23 AM, Jonathan Lange wrote: > On Wed, May 12, 2010 at 8:43 PM, Gary Poster > wrote: > ... >> The second question you raised was that the getByUrls method of branches in >> our WADL doesn't specify a return type. I asked you to file a bug, which >> you did: https://bugs

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-05-13 Thread Jonathan Lange
On Wed, May 12, 2010 at 8:43 PM, Gary Poster wrote: ... > The second question you raised was that the getByUrls method of branches in > our WADL doesn't specify a return type.  I asked you to file a bug, which you > did: https://bugs.launchpad.net/bugs/579516 . This is because we actually want

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-05-12 Thread Gary Poster
Manish and I spoke on IRC today. We made progress on the two topics he raised there. I'll summarize here for clarity, history, and community (IOW, please correct me!). The first issue Manish described in this email, so I'll respond below. On Apr 25, 2010, at 4:18 AM, Manish Sinha wrote: > Hi

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-05-11 Thread Manish Sinha
On 5/11/2010 5:57 PM, Gary Poster wrote: Hi Manish. Thank you for your work. Leonard won't be available till next week, and he is the expert. The only other person I know who might answer is also unavailable right now. Maybe there is another person who can speak up now, but in case you don'

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-05-11 Thread Gary Poster
Hi Manish. Thank you for your work. Leonard won't be available till next week, and he is the expert. The only other person I know who might answer is also unavailable right now. Maybe there is another person who can speak up now, but in case you don't get a reply right now, I wanted you to k

[Launchpad-dev] Launchpad's service WADL clarification

2010-05-10 Thread Manish Sinha
Hi, I am working on a WADL-->C# converter and taking Launchpad WADL file as the example. This project is mainly targeted at generating client proxy code for Launchpad. I ran into a few issues: in the request section of WADL, it can contain param[] and representation_type[] both together I ca

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-26 Thread Gary Poster
On Apr 25, 2010, at 2:06 PM, Manish Sinha wrote: > On 4/25/2010 9:15 PM, James Westby wrote: >> Ok, so it seems you have a grasp on what is legal in the WADL and not >> now? Taking in to account that rule and the previous discussion would >> suggest a complete description of what is allowed by th

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread Manish Sinha
On 4/25/2010 9:15 PM, James Westby wrote: Ok, so it seems you have a grasp on what is legal in the WADL and not now? Taking in to account that rule and the previous discussion would suggest a complete description of what is allowed by the spec. James, I think I have understood after lookin

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread James Westby
On Sun, 25 Apr 2010 19:13:57 +0530, Manish Sinha wrote: > On 4/25/2010 6:25 PM, James Westby wrote: > > No, it means that the method takes any/all of the union of the > > parameters defined directly with param or as part of a > > representation. Meaning in this case the method signature would be >

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread Manish Sinha
On 4/25/2010 6:25 PM, James Westby wrote: No, it means that the method takes any/all of the union of the parameters defined directly with param or as part of a representation. Meaning in this case the method signature would be methodname(foo, bar, baz) From WADL submission 1. Zero or

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread James Westby
On Sun, 25 Apr 2010 16:52:06 +0530, Manish Sinha wrote: > > If this is a theoretical question that I think you can assume this. > > I think the fuller implementation would be that the parameters defined > > directly and those in the representation types would never overlap, so > > that > > > >

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread Manish Sinha
On 4/25/2010 4:35 PM, James Westby wrote: Do you have an example of an element that has both param and representation_type? Nope. That's why am asking whether such a situation can exist? If this is a theoretical question that I think you can assume this. I think the fuller implementation

Re: [Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread James Westby
On Sun, 25 Apr 2010 15:36:00 +0530, Manish Sinha wrote: > Hi, > > I am working on a WADL-->C# converter and taking Launchpad WADL file as > the example. This project is mainly targeted at generating client proxy > code for Launchpad. > I ran into a few issues: > > in the request section of WAD

[Launchpad-dev] Launchpad's service WADL clarification

2010-04-25 Thread Manish Sinha
Hi, I am working on a WADL-->C# converter and taking Launchpad WADL file as the example. This project is mainly targeted at generating client proxy code for Launchpad. I ran into a few issues: in the request section of WADL, it can contain param[] and representation_type[] both together I ca