[
https://issues.apache.org/jira/browse/CXF-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573802#action_12573802
]
Daniel Kulp commented on CXF-1448:
----------------------------------
It's a bug in the Aegis ElementWriter.writeStartElement code. It's not
checking to see if the "namespace" is empty before deciding on the prefix to
use. Thus, right now, it ends up calling:
writer.writeStartElement("ns2", "gui", "");
Woodstox and the other XMLStreamWriters seem to ignore the prefix if the
namespace is empty like that. The SAAJ DOM doesn't do you end up with
<ns2:gid> instead of just <gid>
I've fixed that in the writer.
> Aegis + SAAJ leads to namespace complaint.
> ------------------------------------------
>
> Key: CXF-1448
> URL: https://issues.apache.org/jira/browse/CXF-1448
> Project: CXF
> Issue Type: Bug
> Components: Aegis Databinding
> Affects Versions: 2.0.4
> Environment: I am running WebLogic 9.2.2 on Windows XP
> Reporter: Ben McCann
> Assignee: Benson Margulies
> Fix For: 2.0.5
>
> Attachments: AuthService.java, AuthServiceImpl.java,
> AuthServiceImpl.java, cxf.xml, Employee.java, Employee.java, jboss.log,
> junit.log, stackTrace.log, stackTraceAegisWSSecurity.log,
> stackTraceWithSetCommentedOut.log
>
>
> Hi,
> I am getting "Error initializing parameters for operation" from Aegis. I set
> it up through Spring. My classes mostly just use String, so I'm not sure
> what the problem is.
> Thanks,
> Ben
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.