Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.4
    • Fix Version/s: not determined
    • Component/s: wsgen
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      824

      Description

      Consider the following class:

      @WebService
      public class Hello {
      public String sayHello(String name)

      { return name; }

      public String sayHello(String name, int i) { return name; }

      public String sayHelloJ(String name)

      { return name; }

      public String sayHelloJ(String name, int i) { return name; }

      }

      When you run the wsgen command on this it fails with one error message
      complaining about the second method will not generate a unique name. It does
      produce an error message about the second problem.

      If you look at WebServiceAp onError method it only aborts if the error message
      doesn't have a location on it. I guess the fix for this is to either provide the
      source location or to fix the onError method to not thrown an AbortException.

      The reason why this is important is that we are trying to reuse the wsgen APT
      task with in the JDeveloper tool, so it is always nice to have all the error
      messages rather than just the one.

        Activity

        Hide
        jitu added a comment -

        Assigning this to Rama. Can you if this needs to be marked as enhancement.

        Show
        jitu added a comment - Assigning this to Rama. Can you if this needs to be marked as enhancement.
        Hide
        jitu added a comment -

        Gerald, if you have a patch, please submit it. I am marking it as enhancement.

        Show
        jitu added a comment - Gerald, if you have a patch, please submit it. I am marking it as enhancement.

          People

          • Assignee:
            ramapulavarthi
            Reporter:
            gdavison
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: