You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ru...@apache.org on 2001/08/10 00:59:14 UTC
cvs commit: xml-axis/java/test/encoding PackageTests.java TestDOM.java
rubys 01/08/09 15:59:14
Modified: java/test/encoding PackageTests.java TestDOM.java
Log:
Add "DOM" (actually String->SOAPEnvelope->String) test to the regression
Revision Changes Path
1.9 +1 -0 xml-axis/java/test/encoding/PackageTests.java
Index: PackageTests.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/encoding/PackageTests.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- PackageTests.java 2001/07/01 03:31:16 1.8
+++ PackageTests.java 2001/08/09 22:59:14 1.9
@@ -27,6 +27,7 @@
suite.addTestSuite(TestString.class);
suite.addTestSuite(TestHrefs.class);
suite.addTestSuite(TestBody.class);
+ suite.addTestSuite(TestDOM.class);
suite.addTestSuite(TestArrayListConversions.class);
return suite;
1.2 +6 -10 xml-axis/java/test/encoding/TestDOM.java
Index: TestDOM.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/encoding/TestDOM.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestDOM.java 2001/08/09 20:10:35 1.1
+++ TestDOM.java 2001/08/09 22:59:14 1.2
@@ -26,14 +26,14 @@
private String request =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<SOAP-ENV:Envelope" +
+ " SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"" +
+ " xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"" +
" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"" +
+ " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n" +
+ " <SOAP-ENV:Header>\n" +
+ " <SOAP-SEC:signature SOAP-ENV:actor=\"null\" SOAP-ENV:mustUnderstand=\"1\"" +
" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"" +
- " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" +
- " SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">\n" +
- " <SOAP-ENV:Header>x\n" +
- " <SOAP-SEC:signature SOAP-ENV:actor=\"null\" SOAP-ENV:mustUnderstand=\"1\"\n" +
- " xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"\n" +
- " xmlns:SOAP-SEC=\"http://schemas.xmlsoap.org/soap/security/\">\n" +
+ " xmlns:SOAP-SEC=\"http://schemas.xmlsoap.org/soap/security/\">\n" +
" <Signature xmlns=\"http://www.w3.org/2000/09/xmldsig#\">\n" +
" </Signature>\n" +
" </SOAP-SEC:signature>\n" +
@@ -60,9 +60,5 @@
String result = message.getAsString();
assertEquals(request, result);
- }
-
- public static void main(String[] args) throws Exception {
- new TestDOM("main").testDOM();
}
}