|
From: <kc...@us...> - 2003-06-17 04:22:20
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler
In directory sc8-pr-cvs1:/tmp/cvs-serv27043/src/hk/hku/cecid/phoenix/message/handler
Modified Files:
HttpSender.java
Log Message:
switch to use new HTTP sending class instead of HttpServlet (JAXM)
Index: HttpSender.java
===================================================================
RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler/HttpSender.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** HttpSender.java 21 May 2003 14:07:12 -0000 1.14
--- HttpSender.java 17 Jun 2003 04:22:16 -0000 1.15
***************
*** 71,75 ****
import hk.hku.cecid.phoenix.common.util.Property;
import hk.hku.cecid.phoenix.message.packaging.EbxmlMessage;
! import hk.hku.cecid.phoenix.message.transport.HttpServlet;
import hk.hku.cecid.phoenix.message.transport.TransportException;
import java.net.URL;
--- 71,76 ----
import hk.hku.cecid.phoenix.common.util.Property;
import hk.hku.cecid.phoenix.message.packaging.EbxmlMessage;
! import hk.hku.cecid.phoenix.message.transport.Http;
! // import hk.hku.cecid.phoenix.message.transport.HttpServlet;
import hk.hku.cecid.phoenix.message.transport.TransportException;
import java.net.URL;
***************
*** 123,127 ****
*/
public static void configure(Property prop) throws InitializationException {
! HttpServlet.configure(prop);
}
--- 124,129 ----
*/
public static void configure(Property prop) throws InitializationException {
! Http.configure(prop);
! // HttpServlet.configure(prop);
}
***************
*** 133,138 ****
try {
! final SOAPMessage soapMessage = HttpServlet.
! send(ebxmlMessage.getSOAPMessage(), toMshUrl.toString());
successful = true;
if (soapMessage != null) {
--- 135,142 ----
try {
! //final SOAPMessage soapMessage = HttpServlet.
! // send(ebxmlMessage.getSOAPMessage(), toMshUrl.toString());
! final SOAPMessage soapMessage = Http.
! send(ebxmlMessage, toMshUrl.toString());
successful = true;
if (soapMessage != null) {
|