[
https://issues.jboss.org/browse/JBWS-4019?page=com.atlassian.jira.plugin....
]
R Searls commented on JBWS-4019:
--------------------------------
This is not a bug. It is the user's miss definition of a lambda.
User code
{code:java}
DataHandler dh = (DataHandler) attachments
.values()
.iterator()
.next();
{code}
The use of .iterator() and .next(); is incorrect.
The code should be something like this
{code:java}
attachments.values()
.foreach(new Consumer<DataHandler>() {
public void accept(DataHandler s) {
System.out.println(s);
}
});
{code}
Multiple reads of SOAP message through the context
--------------------------------------------------
Key: JBWS-4019
URL:
https://issues.jboss.org/browse/JBWS-4019
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Reporter: Alessio Soldano
Assignee: R Searls
Fix For: jbossws-cxf-5.2.2.Final
See
https://developer.jboss.org/message/961026#961026
Question is if this is because of a CXF impl choice and if there's any actual
requirement about this in JAX-WS spec. Also note there're attachments involved here,
so the problem could only be related to that (and to streaming...)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)