[
https://issues.jboss.org/browse/AS7-5188?page=com.atlassian.jira.plugin.s...
]
Jim Ma commented on AS7-5188:
-----------------------------
Hi Jakob, do you have a war file I can reproduce this issue ? I tested this with attached
test classes and wsdl in AS-7.1.2.Final, I didn't see this issue. Can you please have
a look my test code to see if there is any difference ?
WS-Addressing Action on response is not being returned as specified
in the WSDL
-------------------------------------------------------------------------------
Key: AS7-5188
URL:
https://issues.jboss.org/browse/AS7-5188
Project: Application Server 7
Issue Type: Bug
Components: Web Services
Affects Versions: 7.1.2.Final (EAP)
Environment: AS7, SOA 5.2
Reporter: Jakob Munih
Assignee: Jim Ma
Labels: addressing
Attachments: 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira