Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 95577 - java.rmi.MarshalException: Invalid Element Name From Server: getJokeResponse, expected: getJokeResult
java.rmi.MarshalException: Invalid Element Name From Server: getJokeResponse,...
Status: VERIFIED FIXED
Product: javame
Classification: Unclassified
Component: Web Services
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Michal Skvor
issues@mobility
:
Depends on:
Blocks: 94640
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo