Author: thomas.diesler(a)jboss.com
Date: 2007-04-10 11:46:40 -0400 (Tue, 10 Apr 2007)
New Revision: 2781
Modified:
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/soap/MessageFactoryTestCase.java
Log:
Header elements must be ns qualified
Modified:
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/soap/MessageFactoryTestCase.java
===================================================================
---
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/soap/MessageFactoryTestCase.java 2007-04-10
13:21:22 UTC (rev 2780)
+++
trunk/jbossws-tests/src/java/org/jboss/test/ws/common/soap/MessageFactoryTestCase.java 2007-04-10
15:46:40 UTC (rev 2781)
@@ -153,11 +153,11 @@
public void testPreserveComments() throws Exception
{
String expMsg =
- "<soapenv:Envelope
xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>" +
+ "<soapenv:Envelope
xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:ns1='http://somens.org'>" +
" <!-- header -->" +
" <soapenv:Header>" +
" <!-- header element -->" +
- " <header>kermit</header>" +
+ " <ns1:header>kermit</ns1:header>" +
" </soapenv:Header>" +
" <!-- body -->" +
" <soapenv:Body>" +