Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1002

WS-Addressing Action on response is not being returned as specified in the WSDL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • Web Services

      According to https://issues.apache.org/jira/browse/CXF-2629 its should be implemented that a WS method call can be overridden by the wsaw:Action or better by the @Action annotation. With jbossWS in AS7 and in SOA5.2 this is not honored.

      As show from the soa52.txt log file, having two methods with the same inbound input but different wsaw:Action the same method is called every time. In the occasion where the right return type is triggered the outbound body rightfully contains the MCCI_IN000002UV01 object representation. With the wsaw:Action referring the the other method (the same method is called as before) an empty body is replied. AS7 is a little bit more clever. It replies in the second occasion throws an SoapFault that the method not supported. Seem that CXF try to handle the situation, but there are some problems in the INVOKE phrase between jboss-ws and the deployed endpoint call.

      The web service is created with maven org.apache.cxf:cxf-codegen-plugin that correctly adds @Action from the interface created from the wsdl. And the implementation has @Addressing(required = true, enabled = true) annotation and sending and request without the addressing headers correctly refuses the inbound message.

        1. greetmebare-output.txt
          5 kB
          Jim Ma
        2. RespondingGatewayDeferred.java
          3 kB
          Jakob Munih
        3. soa52.txt
          5 kB
          Jakob Munih

            rhn-engineering-ema Jim Ma
            duckslo_jira Jakob Munih (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: