|
From: <pe...@us...> - 2003-11-21 04:44:34
|
Update of /cvsroot/neuclear/neuclear-xmlsig/src/test/org/neuclear/xml/soap
In directory sc8-pr-cvs1:/tmp/cvs-serv10728/src/test/org/neuclear/xml/soap
Modified Files:
SOAPTest.java
Log Message:
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
Otherwise You will Finaliate.
Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
This should hopefully make everything more stable (and secure).
Index: SOAPTest.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-xmlsig/src/test/org/neuclear/xml/soap/SOAPTest.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** SOAPTest.java 11 Nov 2003 16:33:30 -0000 1.1.1.1
--- SOAPTest.java 21 Nov 2003 04:44:31 -0000 1.2
***************
*** 14,19 ****
import org.neuclear.commons.NeuClearException;
! public class SOAPTest extends TestCase {
! public SOAPTest(String name) {
super(name);
}
--- 14,19 ----
import org.neuclear.commons.NeuClearException;
! public final class SOAPTest extends TestCase {
! public SOAPTest(final String name) {
super(name);
}
***************
*** 21,29 ****
! public void testGetQuote() throws NeuClearException {
! Element getQuote = DocumentHelper.createElement(DocumentHelper.createQName("getQuote", DocumentHelper.createNamespace("ns1", "urn:xmethods-delayed-quotes")));
getQuote.addElement(DocumentHelper.createQName("symbol", DocumentHelper.createNamespace("ns1", "urn:xmethods-delayed-quotes"))).addText("MSFT");
// Element response=soapRequest("http://localhost/cgi-bin/xmlenv",getQuote,"urn:xmethods-delayed-quotes#getQuote");
! Element response = SOAPTools.soapRequestElement("http://66.28.98.121:9090/soap", getQuote, "urn:xmethods-delayed-quotes#getQuote");
System.out.println("testGetQuote:");
System.out.println(response.asXML());
--- 21,29 ----
! public final void testGetQuote() throws NeuClearException {
! final Element getQuote = DocumentHelper.createElement(DocumentHelper.createQName("getQuote", DocumentHelper.createNamespace("ns1", "urn:xmethods-delayed-quotes")));
getQuote.addElement(DocumentHelper.createQName("symbol", DocumentHelper.createNamespace("ns1", "urn:xmethods-delayed-quotes"))).addText("MSFT");
// Element response=soapRequest("http://localhost/cgi-bin/xmlenv",getQuote,"urn:xmethods-delayed-quotes#getQuote");
! final Element response = SOAPTools.soapRequestElement("http://66.28.98.121:9090/soap", getQuote, "urn:xmethods-delayed-quotes#getQuote");
System.out.println("testGetQuote:");
System.out.println(response.asXML());
|