Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1882

WSDL2Java doesn't generate code for a porttype not referenced by a service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Java-SCA-1.0
    • Java-SCA-1.x
    • Java SCA Tools
    • None
    • OS is Windows XP Professional SP2, and the WSDL2Java command line tool is invoked inside an Eclipse 3.3 plugin.

    Description

      The PortType already contains the information to generate the interface and related code. We don't necessarily need a service element to contain the binding to refer to the port type, because we can just use the WSDL as the interface but do not use the WSDL as the binding for the SCA service. For example, we can use the WSDL as the interface and use EJB binding. Therefore, the lack of a service element in the WSDL should not prevent code generation.

      Attachments

        1. AddressBookNoService.wsdl
          4 kB
          Raymond Lai

        Activity

          People

            Unassigned Unassigned
            rkklai Raymond Lai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: