I have run into a similar problem. 

I am trying to use a wscompile generated webservice with the nodatabinding 
feature. To create the outgoing soapelement, I used the addDocument method of 
org.jboss.axis.message.SOAPBodyImpl.

During this operation, JBoss's implementation of SerializationContext (jboss 
4.0.2, from axis-ws4ee.jar) is converting my 'xmlns=namespaceuri' into 
'xmlns:xmlns=namespaceuri', which is illegal.

Due to this, I get the following error message when trying to parse: 
org.xml.sax.SAXParseException: The prefix "xmlns" cannot be bound to any 
namespace explicitly; neither can the namespace for "xmlns" be bound to any 
prefix explicitly.

I downloaded the source and modified SerializationContextImpl to prevent this 
from happenning, but even after that I get the same exact error message when 
trying to parse.

Did you ever find the cause of this problem?





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933224#3933224

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933224


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to