Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-959

Only one return type is supported in document/literal interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jbossws-1.0.0
    • tools-jaxrpc
    • None

      I have an EJB that exposes two operations in a SEI. For the sake of simplicity, let's say operation1 returns a ClassA object and operation2 returns an int.

      When running wstools to generate the WSDL and the mapping, if the config.xml file declares the service style as document and parameter-style as bare (which I'm assuming is the same as literal), the resulting WSDL contains an element that declares a single result of type int, and that result is used as the return type of operation1.

      This is wrong because operation1's result should be of type ClassA.

              Unassigned Unassigned
              cliffb53_jira Celso Pinto (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: