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 92423 - AsynchronousSample wsdl binding is incorrect.
Summary: AsynchronousSample wsdl binding is incorrect.
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: SOA (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Michael Frisino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-12 11:26 UTC by Michael Frisino
Modified: 2007-01-23 13:44 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 Michael Frisino 2007-01-12 11:26:02 UTC
To reproduce:
Open AsynchronousSample
Run validation.

XML validation started.
C:/Documents and
Settings/Mike/AsynchronousSample1/AsynchronousSample1/src/AsynchronousSample.wsdl:42,8
Output in binding operation "asyncOperation" in binding "SoapBinding" should
match output in the corresponding operation in portType "MyPortType".  : Ensure
that the output (if any) in portType operation "asyncOperation" has a matching
counterpart in the corresponding binding operation. 

Problem is that the binding declaration includes an output declaration but the
port does not. So there is a mismatch. Surprisingly this was never reported
before. Perhaps the WSDL validation is more strict now.

    <binding name="SoapBinding" type="tns:MyPortType">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="asyncOperation">
            <soap:operation/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
        </operation>           
    </binding>

Fix is to modify the WSDL and remove the incorrect output element from binding.

P1 since this is blocking testing of samples.
Comment 1 Michael Frisino 2007-01-12 11:30:10 UTC
checked in fix.
Comment 2 Michael Frisino 2007-01-23 13:44:43 UTC
verified