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 82495 - Should NOT allow create web service if device profile has no web service support
Summary: Should NOT allow create web service if device profile has no web service support
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Web Services (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 15:10 UTC by brviking
Modified: 2013-07-24 08:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Error when compile (15.21 KB, text/plain)
2006-08-11 15:10 UTC, brviking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brviking 2006-08-11 15:10:03 UTC
Create new J2ME project.
Select Project -> Properties.
Choose J2ME Wireless Toolkit 2.2.
On Optional Packages, disable "Web Sercies 1.0".
Confirm.
Right click project -> New Web Service Client.
Select web service (wsdl location, click retrieve).
Fill in options as needed.
Midlet, stub and proxies classes are created.
When try to compile you get attached errors.
Comment 1 brviking 2006-08-11 15:10:59 UTC
Created attachment 32837 [details]
Error when compile
Comment 2 brviking 2006-08-11 15:11:41 UTC
Just correcting subject (from "Should allow" to "Should NOT allow").
Comment 3 Michal Skvor 2006-09-07 13:26:33 UTC
This is very interesting idea but I cannot imagine howto implement it. Should I
disable the item when the platform does not contain the JSR-172 classes? Could
you please tell me more how do you imagine the behavior of the IDE? Thanks.
Comment 4 brviking 2006-09-07 15:18:28 UTC
Yes, or disable the option to create web services client or throws a popup
window explaining the choosen device has no support for webservices (jsr 172). I
do prefer first option, but it has more complexity too (because if we change
device profile, the option could be enabled again).
Comment 5 Petr Dvorak 2008-05-05 15:33:31 UTC
Please could you update the "target milestone" field, misk?