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 95577 - java.rmi.MarshalException: Invalid Element Name From Server: getJokeResponse, expected: getJokeResult
Summary: java.rmi.MarshalException: Invalid Element Name From Server: getJokeResponse,...
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Web Services (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 94640
  Show dependency tree
 
Reported: 2007-02-14 15:37 UTC by Lukas Hasik
Modified: 2007-02-15 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test project (18.51 KB, application/x-compressed)
2007-02-14 15:38 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2007-02-14 15:37:16 UTC
070214

-when trying to use the generated client exception appeared -
java.rmi.MarshalException: Invalid Element Name From Server: getJokeResponse,
expected: getJokeResult
        at getjoke2.getJoke_Stub.getJoke(getJoke_Stub.java:74)
        at getjoke2.TestGetJokeMidlet.startApp(TestGetJokeMidlet.java:22)
        at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:43)
        at com.sun.midp.midlet.Scheduler.schedule(Scheduler.java:369)
        at com.sun.midp.main.Main.runLocalClass(Main.java:474)
        at com.sun.midp.main.Main.main(Main.java:128)


-it seems that the generated types don't match the types declared in wsdl

-attached is test project
Comment 1 Lukas Hasik 2007-02-14 15:38:36 UTC
Created attachment 38499 [details]
test project
Comment 2 Michal Skvor 2007-02-14 17:58:24 UTC
Fixed:
Changed generator to properly generate QNames for parameters. 
Comment 3 Lukas Hasik 2007-02-15 13:00:02 UTC
verified in 070215