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 98778 - Missing SOAPACTION_URI_PROPERTY in generated stub
Summary: Missing SOAPACTION_URI_PROPERTY in generated stub
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Web Services (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 98171
  Show dependency tree
 
Reported: 2007-03-23 12:12 UTC by Lukas Hasik
Modified: 2007-03-26 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2007-03-23 12:12:18 UTC
all builds after following fix don't generate correct
stub.http://mobility.netbeans.org/source/browse/mobility/end2end/jsr172/src/org/netbeans/modules/e2e/wsdl/wsdl2java/WSDL2JavaImpl.java?r1=1.8&r2=1.9

There is missing SOAPACTION_URI_PROPERTY.
Please FIX ASAP or rollback the fix. I'm marking it as showstopper for M8. The
JSR172 doesn't work at all :(

when you add one line with the 
op.setProperty( Operation.SOAPACTION_URI_PROPERTY,
"http://interpressfact.net/webservices/getJoke" );
then it works
Comment 1 Lukas Hasik 2007-03-23 12:25:23 UTC
you can test with http://www.interpressfact.net/webservices/getJoke.asmx?WSDL
it has defined <soap:operation
soapAction="http://interpressfact.net/webservices/getJoke" style="document" />
in the WSDL but the code isn't generated into stub
Comment 2 Michal Skvor 2007-03-23 12:50:14 UTC
Fixed. It was typo. The 'x' was missing in the variable name :)
Comment 3 Martin Schovanek 2007-03-25 22:35:31 UTC
Please can you verify the fix in M8 build?
Comment 4 Lukas Hasik 2007-03-26 09:54:19 UTC
verified in 070326 build

<generatedCode class="getJoke_Stub">
        _prepOperation( op );
        op.setProperty( Operation.SOAPACTION_URI_PROPERTY,
"http://interpressfact.net/webservices/getJoke" );
        Object resultObj;
</generatedCode>