-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Casting problem for User Defined Outgoing Soap Headers #38
Comments
I understand that the final soapHeaders is just a List , but seems like we are missing a step to get OUTGOING_SOAP_HEADERS from its original Map form before getting the collection of values as list.Map<QName, Header> userHeadersMap = CastUtils.cast( ... , Map.class)); |
Ok, supporting Map along with List would really make sense. I'll fix that. |
Code committed, documentation updated (http://openehealth.org/display/ipf2/ws-common-protocol-headers) |
Thanks for the fix promptly. This will be in 2.6.1 release, right? Thanks. |
Question to Boris... |
Cheers, 2014-03-12 0:40 GMT+01:00 Dmytro Rud notifications@github.com:
|
I found this issue in IPF 2.6.0 release, I found this same issue in my 2.7.x code base synced back in mid Feb.
In HeaderUtiles.java (line 177 of processUserDefinedOutgoingSoapHeaders method),
the cast type should be Map.class instead of List.class.
It is because, the message header is generally defined as a Map not a List. I ran into cast failure when I added user defined outgoing SOAP HEADER as a Map in my CXF/Camel flow.
The corresponding processUserDefinedOutgoingHttpHeaders() method has the correct casting type of Map.class in line 235.
I could fix and deliver this problem if this is confirmed to be a problem.
Thanks
The text was updated successfully, but these errors were encountered: