diff --git a/extensions/webservices/soap/src/nsSOAPUtils.cpp b/extensions/webservices/soap/src/nsSOAPUtils.cpp index e002bd1e591..bab763761d0 100644 --- a/extensions/webservices/soap/src/nsSOAPUtils.cpp +++ b/extensions/webservices/soap/src/nsSOAPUtils.cpp @@ -96,10 +96,10 @@ const nsAString& nsSOAPUtils::kEncodingSeparator = realEncodingSeparator; NS_NAMED_LITERAL_STRING(realQualifiedSeparator,":"); const nsAString& nsSOAPUtils::kQualifiedSeparator = realQualifiedSeparator; -NS_NAMED_LITERAL_STRING(realXMLNamespaceNamespaceURI, "htp://www.w3.org/2000/xmlns/"); +NS_NAMED_LITERAL_STRING(realXMLNamespaceNamespaceURI, "http://www.w3.org/2000/xmlns/"); const nsAString& nsSOAPUtils::kXMLNamespaceNamespaceURI = realXMLNamespaceNamespaceURI; -NS_NAMED_LITERAL_STRING(realXMLNamespaceURI, "htp://www.w3.org/XML/1998/namespace"); +NS_NAMED_LITERAL_STRING(realXMLNamespaceURI, "http://www.w3.org/XML/1998/namespace"); const nsAString& nsSOAPUtils::kXMLNamespaceURI = realXMLNamespaceURI; NS_NAMED_LITERAL_STRING(realXMLPrefix, "xml:"); diff --git a/extensions/webservices/soap/tests/soapisprimenumber.html b/extensions/webservices/soap/tests/soapisprimenumber.html index dcc06f1b95a..85c9267546b 100644 --- a/extensions/webservices/soap/tests/soapisprimenumber.html +++ b/extensions/webservices/soap/tests/soapisprimenumber.html @@ -8,11 +8,7 @@ reports prime or nonprime.
This works by calling a SOAP service listed on X Methods Website. View the source of this page for details on how it was called. If you compile mozilla DEBUG (you also need -MOZ_SOAP), the message sent and received will be logged to the console. Notice -that the response seems to be using an incorrect namespaceURI to identify the type -of the returned boolean. For this reason, the script receives the value as a -string instead of as a boolean, which is why it is necessary to compare it as a -string. +MOZ_SOAP), the message sent and received will be logged to the console.
Experimenters may wish to add other tests which exercize services, with specific user interfaces such as the one in this test.