diff --git a/router/java/src/org/cybergarage/http/HTTP.java b/router/java/src/org/cybergarage/http/HTTP.java index 9455436f72..927f356a67 100644 --- a/router/java/src/org/cybergarage/http/HTTP.java +++ b/router/java/src/org/cybergarage/http/HTTP.java @@ -38,7 +38,7 @@ public class HTTP // Constants //////////////////////////////////////////////// - public static final String HOST = "HOST"; + public static final String HOST = "Host"; public static final String VERSION = "1.1"; public static final String VERSION_10 = "1.0"; @@ -49,7 +49,7 @@ public class HTTP public static final byte LF = '\n'; public static final String TAB = "\t"; - public static final String SOAP_ACTION = "SOAPACTION"; + public static final String SOAP_ACTION = "SOAPAction"; public static final String M_SEARCH = "M-SEARCH"; public static final String NOTIFY = "NOTIFY"; diff --git a/router/java/src/org/cybergarage/soap/SOAPRequest.java b/router/java/src/org/cybergarage/soap/SOAPRequest.java index 06448ffc2d..f53824d6ba 100644 --- a/router/java/src/org/cybergarage/soap/SOAPRequest.java +++ b/router/java/src/org/cybergarage/soap/SOAPRequest.java @@ -32,7 +32,7 @@ public class SOAPRequest extends HTTPRequest { - private final static String SOAPACTION = "SOAPACTION"; + private final static String SOAPACTION = HTTP.SOAP_ACTION; //////////////////////////////////////////////// // Constructor