Axis2
  1. Axis2
  2. AXIS2-2353

Selecting a port name / wsdl provided scenario

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jaxws
    • Labels:
      None

      Description

      Port Name confusion.

      EndpointDesciptionImpl#selectWSDLPortToUse (Line 1396) says:

      // Per JSR-181,
      // - The portType name corresponds to the WebService.name annotation value, which is
      // returned by getName()
      // - The portType namespace corresponds to the WebService.targetNamespace annotation, which
      // is returned by getTargetNamespace()
      String portTypeLP = getName();

      BUT, EndpointDesciptionImpl#getAnnoWebServicePortName does this:

      // This is the @WebService annotation path
      // Default value is the @WebService.name of the class or interface + "Port"
      // Per JSR-181 MR Sec 4.1, pg 15
      annotation_PortName = getAnnoWebServiceName() + "Port";

      So which is correct?

      Here's the scenario we are trying:
      http://cwiki.apache.org/GMOxDOC20/simple-web-service-with-jax-ws.html

      We will upload the latest versions of wsdl/service/client as well.

      – dims

      1. CalculatorService.wsdl
        3 kB
        Lin Sun
      2. CalculatorService.java
        2 kB
        Lin Sun
      3. CalculatorClient.java
        2 kB
        Lin Sun
      4. Calculator.java
        2 kB
        Lin Sun
      5. Calculator.java
        2 kB
        Lin Sun

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jeff Barrett
            Reporter:
            Davanum Srinivas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development