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

Summary: java.rmi.MarshalException: Invalid Element Name From Server: getJokeResponse, expected: getJokeResult
Product: javame Reporter: Lukas Hasik <lhasik>
Component: Web ServicesAssignee: Michal Skvor <misk>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 94640    
Attachments: test project

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