Hi Clifford,
I'm not the iPhone developer. I created the service in web2py and
someone else is trying to consume the service via iPhone. I know
nothing of the iPhone environment (and not have one too), and also did
not find any reference material to verify the authentication method
actually used in web2py does not work with iPhone, I'm guided only by
the iPhone developer said, that the way I implemented it can not
authenticate. Your idea is good, but the project is to provide a
service only.

On Aug 10, 7:07 pm, "G. Clifford Williams" <g...@notadiscussion.com>
wrote:
> Relsi, do you know whether he's developing using Obj-C or a framework like
> (Titanium, Corona, LiveCode, etc...)?
>
> I ask because he could use a webview to usher content back and forth from
> the network calls to the main meat of his application. This is pretty
> trivial with Obj-C, Corona (Lua), and Titanium (JavaScript) but incurs the
> expense of loading a full HTML+CSS+JS parsing engine and then loading
> objects. The key benefit is that it preserves session (from the client
> perspective) just like a desktop browser. Making successive calls would all
> be part of one 'session' provided there hasn't been a time out. Timeouts can
> be trapped and you could use a call back to log the user back in.
>
> It's just one way to solve that problem.
>
> On Wed, Aug 10, 2011 at 4:48 PM, Massimo Di Pierro <
>
>
>
>
>
>
>
> massimo.dipie...@gmail.com> wrote:
> > Look at the source of the decorator in gluon/tools.py. It should be
> > trivial to change it and take the username:password from a
> > request.vars or from a request.env
>
> > On Aug 10, 4:35 pm, Relsi Hur <relsi.ram...@gmail.com> wrote:
> > > Anyone else? =)
>
> > > any tips on how to pass the username and password as parameters of the
> > > method and continue using the decorator?
>
> > > On Aug 10, 3:56 am, Relsi Hur <relsi.ram...@gmail.com> wrote:
>
> > > > Yes, the objective-C suport xml-rpc, but the developer says that
> > theiphonedoes not work the wire formathttps://username:password@my_server
> > /my_app/service/call/xmlrpc.
> > > > I do not work with the platform iOS, so I do not know the
> > > > particularities of the platform, I do not want is having to stop using
> > > > the web2py decorators only to have to answer a specific platform. If
> > > > someone has already developediPhonecan give a hint about it, I thank
> > > > you very much.
>
> > > > On Aug 10, 3:34 am, Christopher Steel <chris.st...@gmail.com> wrote:
>
> > > > > I have not tried xml-rpc on theiphonebut apparently Wordpress has
> > some
> > > > >iphonexmlrpc examples...
>
> > > > >http://stackoverflow.com/questions/147062/does-iphone-support-xml-rpc
>
> > > > > Let us know how it goes!
>
> > > > > C.

Reply via email to