wsit
  1. wsit
  2. WSIT-487

@Action annotations are required to interoperate

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: current
    • Component/s: wsit-runtime
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

      Description

      Service attached is required to have @Addressing annotation at service and
      @Action annotations at operations like this:

      @Action(input="http://tempuri.org/BankOrderServicePortBinding/receiveOrder")
      @WebMethod(operationName="receiveOrder" )
      public String receiveOrder(@WebParam(name="id") String id, ...

      Otherwise communication with MS fails - MS client is not able to talk to such
      service.

      1. addnumbers.log
        9 kB
        elmooney
      2. BankOrderServiceService.wsdl
        9 kB
        snajper
      3. server.fromjava.wsdl
        3 kB
        elmooney
      4. trace
        7 kB
        snajper

        Activity

        Hide
        ramapulavarthi added a comment -

        This is a documentation issue that needs to be reverified with WCF 3.5 and WCF 4.0.
        Adding metro2.0-waived keyword.

        Show
        ramapulavarthi added a comment - This is a documentation issue that needs to be reverified with WCF 3.5 and WCF 4.0. Adding metro2.0-waived keyword.
        Hide
        ramapulavarthi added a comment -

        In JAX-WS 2.2,Metro 2.0 wsam:Action is generated by default. Hence the
        workarounds should no longer be required.

        Assigning it to QE for verification and follewed by documentation correction to
        remove the note[1].

        Note: To ensure interoperability with Windows Communication Foundation (WCF)
        clients, you must specify the action element of @WebMethod in your endpoint
        implementation classes. WCF clients will incorrectly generate an empty string
        for the Action header if you do not specify the action element.

        https://wsit-docs.dev.java.net/releases/m5/Examples_glassfish4.html#wp104810

        Show
        ramapulavarthi added a comment - In JAX-WS 2.2,Metro 2.0 wsam:Action is generated by default. Hence the workarounds should no longer be required. Assigning it to QE for verification and follewed by documentation correction to remove the note [1] . Note: To ensure interoperability with Windows Communication Foundation (WCF) clients, you must specify the action element of @WebMethod in your endpoint implementation classes. WCF clients will incorrectly generate an empty string for the Action header if you do not specify the action element. https://wsit-docs.dev.java.net/releases/m5/Examples_glassfish4.html#wp104810
        Hide
        m_potociar added a comment -

        Setting target milestone

        Show
        m_potociar added a comment - Setting target milestone
        Hide
        Marek Potociar added a comment -

        Was assigned to msreekanth, assiging to SQE lead.

        Show
        Marek Potociar added a comment - Was assigned to msreekanth, assiging to SQE lead.
        Hide
        sonymanuel added a comment -

        Assign to Sreekanth.

        Show
        sonymanuel added a comment - Assign to Sreekanth.

          People

          • Assignee:
            Sreekanth
            Reporter:
            snajper
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: