]
Alessio Soldano resolved WFLY-1002.
-----------------------------------
Resolution: Cannot Reproduce Bug
Solving as "Cannot Reproduce". Jakob, feel free to re-open if you have the
information Jim has asked for.
WS-Addressing Action on response is not being returned as specified
in the WSDL
-------------------------------------------------------------------------------
Key: WFLY-1002
URL:
https://issues.jboss.org/browse/WFLY-1002
Project: WildFly
Issue Type: Bug
Components: Web Services
Environment: AS7, SOA 5.2
Reporter: Jakob Munih
Assignee: Jim Ma
Labels: addressing
Attachments: addr_action.zip, greetmebare-output.txt,
RespondingGatewayDeferred.java, soa52.txt
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.