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.
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
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...
Fixed.
v.
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