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 99752 - Visual Midlet is not created for Mobile client to Webapplication
Summary: Visual Midlet is not created for Mobile client to Webapplication
Status: RESOLVED DUPLICATE of bug 75238
Alias: None
Product: javame
Classification: Unclassified
Component: Web Services (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 07:26 UTC by pcmreddy
Modified: 2007-04-03 09:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Mobile app (32.98 KB, application/octet-stream)
2007-04-03 07:29 UTC, pcmreddy
Details
BPEL project (46.44 KB, application/octet-stream)
2007-04-03 07:30 UTC, pcmreddy
Details
Web app (30.37 KB, application/octet-stream)
2007-04-03 07:30 UTC, pcmreddy
Details
Screen capture (36.13 KB, image/jpeg)
2007-04-03 07:31 UTC, pcmreddy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pcmreddy 2007-04-03 07:26:43 UTC
Windows XP  + JDK 1.5.0_11
NB 5.5 + Mobility 5.5 + Ent Pack 5.5

Start Application server, Make sure you see JBI node under appserver.
Create a new project. Samples -> Service Oriented Samples -> Synchronus Sample.
You may rename the project (Optional)
Build and deploy the Comp app project.

Now Create Web application (J2EE 1.4)
and add a webservice client for WSDL from previous application.

Ex: "http://localhost:18181/SynchronousSample?WSDL"

Compile and deploy webapplication.

Now create a Mobile (CLDC Application) uncheck Create Hello Midlet option.
Try to add Mobile client to this application.

Observe there are only three files are created. 
  - SimpleProcess.java
  - WebToMobileClient.java
  - WebToMobileClient.wsclient
No midlet is generated.

for your reference I am attaching test files here.
Comment 1 pcmreddy 2007-04-03 07:29:38 UTC
Created attachment 40296 [details]
Mobile app
Comment 2 pcmreddy 2007-04-03 07:30:16 UTC
Created attachment 40297 [details]
BPEL project
Comment 3 pcmreddy 2007-04-03 07:30:39 UTC
Created attachment 40298 [details]
Web app
Comment 4 pcmreddy 2007-04-03 07:31:59 UTC
Created attachment 40299 [details]
Screen capture
Comment 5 Lukas Hasik 2007-04-03 09:28:38 UTC
from the Release Notes: "When you create a new Mobile Client to Web Application,
a sample MIDlet can not be generated if the parameter of the Web service is a
type that can not be easily represented in the Visual Mobile Developer, such as
an array.". 
It applies even to the custom types. In your case it doesn't know how to
visualize the SimpleProcess. 

The workaround is easy call the WebToMobileClient's methods manually from your
own midlet.

*** This issue has been marked as a duplicate of 75238 ***