This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 145327 - [saas][twitter] uncompilable code after drop
Summary: [saas][twitter] uncompilable code after drop
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 16:37 UTC by Lukas Jungmann
Modified: 2008-08-28 06:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-08-27 16:37:24 UTC
just tried to update my status messages on facebook through twitter API from netbeans (my twitter and facebook accounts
are contected - I can update fcb status from twitter's web form) and after dropping "What Are You Doing Service ->
statuses -> [update.{format}] -> updateStatus" into java class I get:

    public static RestResponse updateStatus(String status, String format) throws IOException {
        TwitterWhatAreYouDoingServiceAuthenticator.login();
        String[][] pathParams = new String[][]{{"{format}", format}};
        String[][] queryParams = new String[][]{{"status", status}};
        RestConnection conn = new RestConnection("http://twitter.com/statuses/update.{format}", pathParams, queryParams);
        return conn.post(null, content);
    }

=> this is uncompilable because content variable is not defined
Comment 1 Lukas Jungmann 2008-08-27 17:10:59 UTC
btw: just another nitpick - javadoc for generated method contains: "Retrieves representation of an instance of
javaapplication5.UpdateStatusResource" but there's no such file created in the project...
Comment 2 Ayub Khan 2008-08-27 20:45:09 UTC
Fixed.
Comment 3 Lukas Jungmann 2008-08-27 22:31:08 UTC
v.
Comment 4 Quality Engineering 2008-08-28 06:38:19 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/d645bb9a1edb
User: Ayub Khan <ayubskhan@netbeans.org>
Log: Fix issue#145327 - [saas][twitter] uncompilable code after drop