You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/03/07 13:13:05 UTC

DO NOT REPLY [Bug 17766] New: - WSDL2Java cannot process documents with fewer operations in a Binding than in the corresp. portType.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17766>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17766

WSDL2Java cannot process documents with fewer operations in a Binding than in the corresp. portType.

           Summary: WSDL2Java cannot process documents with fewer operations
                    in a Binding than in the corresp. portType.
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: Andrei.Iltchenko@nl.compuware.com


The WSDL2Java tool contains a bug that surfaces whenever a WSDL document with 
fewer operations in a Binding than in the corresponding PortType is processed. 
The result is uncompilable Java code. The atteched WSDL file is an example of 
such a document and the following diagnostic is issued when the code generated 
from the document is compiled:

addressfetcher2\AddressBookSOAPBindingStub.java:10: AddressFetcher2.AddressBookS
OAPBindingStub should be declared abstract; it does not define getAddressFromNam
e(java.lang.String) in AddressFetcher2.AddressBookSOAPBindingStub
public class AddressBookSOAPBindingStub extends org.apache.axis.client.Stub impl
ements AddressFetcher2.AddressBook {

The attached patch solves the problem.