Sorry, its "User.login", not "Bug.login". On Wed, Jul 2, 2008 at 6:15 AM, Helder Ribeiro <[EMAIL PROTECTED]> wrote:
> This is the api documentation: > > http://www.bugzilla.org/docs/3.0/html/api/Bugzilla/WebService/User.html > > It says " > *Returns* > > On success, a hash containing one item, id, the numeric id of the user > that was logged in. A set of http cookies is also sent with the response. > These cookies must be sent along with any future requests to the webservice, > for the duration of the session. > " > but when I run the execute method in the client for the "Bug.login" method > it returns a Map with only one property, the user id. > > > On Wed, Jul 2, 2008 at 6:07 AM, Jochen Wiedmann <[EMAIL PROTECTED]> > wrote: > >> On Wed, Jul 2, 2008 at 3:03 PM, Helder Ribeiro <[EMAIL PROTECTED]> >> wrote: >> >> > I tried to run the login before calling the create but. The login works >> > fine, it returns the logged user id, but when I call the create I got >> the >> > same error. >> >> Do you have a pointer to the API of the login method? I could assume >> that it does something like returning a Cookie that you need to pass >> later on. >> >> Jochen >> >> >> -- >> Look, that's why there's rules, understand? So that you think before >> you break 'em. >> >> -- (Terry Pratchett, Thief of Time) >> > > > > -- > > Helder Ribeiro -- Helder Ribeiro