Is the SOAP interface to use.perl broken at the moment? I have been trying to use it to create a journal entry, but everytime the body of the entry comes up as just the word 'date'.
While this could be the universe trying to tell me I need to get out more, I am pretty certain that there is something wrong in the back end. Even using pudge's example script gives the same result as my program.
Oh, and while I am asking questions, does any know if it is possible to create an NSString object in camelbones? All my current attempts result in a scalar being returned, which is not what I need.
Re:Working
garth on 2002-04-24T23:53:14
Finally fixed up my script to work. I was trying to add an entry usingwhen in reality, you have to have all the key-pairs in theremy $new_id = $journal->add_entry( body => 'this is a test again',
subject => 'this should not just be the word date')->result;I just assumed those were optional, but obviously not. Thanks for your helpmy $new_id = $journal->add_entry( body => 'this is a test again',
subject => 'this should not just be the word date',
discuss => 1,
posttype => 1,
tid => 1 )->result;:-)
Oh, and is there any progress on getting a nickname -> uid interface? Or using the nickname to get entries?
Re:Working
pudge on 2002-04-25T12:02:39
I use add_entry($subject, $body). I don't recall if add_entry(subject => $subject, body => $body) works, though it should. I'll look into it.
The nickname-uid interface has not yet been written; too many other things to do.