Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2.6
-
Fix Version/s: None
-
Component/s: Generator
-
Labels:None
-
Number of attachments :
Description
If an object is expected to be passed in the header, and the wsdl defines it as a part in the request message (rather than in its own message), then XFire generates the client incorrectly. For each operation using the header, it will define two parameters for the header object. One will be serialized into the soap header and the other will be serialized into the message body. Xfire works correctly, however, if the header is defined in its own message instead of as a part in the request message.
This causes interoperability problems with CXF 2.0 RC, since CXF currently requires header objects to be defined as a part in the request message. This is apparently the OS-I suggested way of doing things. See https://issues.apache.org/jira/browse/CXF-602 and http://www.mail-archive.com/cxf-user@incubator.apache.org/msg00231.html.
I'll try to get a quick example together to demonstrate this.
Attached a working example of the bug (or would that be a non working example of the bug?).
Please see the readme.txt at the root of the extracted folder.