You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by David Hello <he...@matrasi-tls.fr> on 2000/11/29 15:26:18 UTC
Installation issue
Hi !
I've just installed SOAP 2.0 on the following configuration :
- NT 4 SP5
- Apache 1.3.14
- Jakarta Tomcat 3.2 b8
- JDK 1.2.2
When I try to visit the SOAP RPC router, I get the following message :
"Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
Any idea of what is going wrong ? Many thanks for any hints !
David
PS : I get quite a soimilar message when running the StockQuote sample :
org.xml.sax.SAXParseException: White space is required between the public identifier and the system identifier.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
at org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDScanner.java:645)
at org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanner.java:1190)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1098)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2177)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2133)
at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:775)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)
Caught SOAPException (SOAP-ENV:Protocol): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
Client sent malformed Host header<P>
<HR>
<ADDRESS>Apache/1.3.14 Server at <A HREF="mailto:support@hypergeo.org">www.hypergeo.org</A> Port 80</ADDRESS>
</BODY></HTML>
Re: Installation issue
Posted by Maarten Coene <Ma...@ToughGuy.net>.
At 15:26 29/11/2000 +0100, you wrote:
>Hi !
>
>When I try to visit the SOAP RPC router, I get the following message :
>"Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
Thats no fault. The rpcrouter only accepts POST requests. Going to your
rpcrouter using your browser is not a POST request.
>Any idea of what is going wrong ? Many thanks for any hints !
>David
>
>PS : I get quite a soimilar message when running the StockQuote sample :
I got the same error like you, but I solved it by including the port into
the address, e.g.: http://localhost:8080/ instead of http://localhost/
>org.xml.sax.SAXParseException: White space is required between the public
>identifier and the system identifier.
> at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
> at
> org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDScanner.java:645)
> at
> org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanner.java:1190)
> at
> org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1098)
> at
> org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2177)
> at
> org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2133)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:775)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
> at
> org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
> at org.apache.soap.rpc.Call.invoke(Call.java:157)
> at samples.addressbook.GetAddress.main(GetAddress.java:125)
>Caught SOAPException (SOAP-ENV:Protocol): <!DOCTYPE HTML PUBLIC
>"-//IETF//DTD HTML 2.0//EN">
><HTML><HEAD>
><TITLE>400 Bad Request</TITLE>
></HEAD><BODY>
><H1>Bad Request</H1>
>Your browser sent a request that this server could not understand.<P>
>Client sent malformed Host header<P>
><HR>
><ADDRESS>Apache/1.3.14 Server at <A
>HREF="mailto:support@hypergeo.org"><http://www.hypergeo.org>www.hypergeo.org</A>
>Port 80</ADDRESS>
></BODY></HTML>
--
Maarten Coene
K.U.Leuven
Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee
Re: Installation issue
Posted by Maarten Coene <Ma...@ToughGuy.net>.
At 15:26 29/11/2000 +0100, you wrote:
>Hi !
>
>When I try to visit the SOAP RPC router, I get the following message :
>"Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
Thats no fault. The rpcrouter only accepts POST requests. Going to your
rpcrouter using your browser is not a POST request.
>Any idea of what is going wrong ? Many thanks for any hints !
>David
>
>PS : I get quite a soimilar message when running the StockQuote sample :
I got the same error like you, but I solved it by including the port into
the address, e.g.: http://localhost:8080/ instead of http://localhost/
>org.xml.sax.SAXParseException: White space is required between the public
>identifier and the system identifier.
> at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
> at
> org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDScanner.java:645)
> at
> org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanner.java:1190)
> at
> org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1098)
> at
> org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2177)
> at
> org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2133)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:775)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
> at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
> at
> org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
> at org.apache.soap.rpc.Call.invoke(Call.java:157)
> at samples.addressbook.GetAddress.main(GetAddress.java:125)
>Caught SOAPException (SOAP-ENV:Protocol): <!DOCTYPE HTML PUBLIC
>"-//IETF//DTD HTML 2.0//EN">
><HTML><HEAD>
><TITLE>400 Bad Request</TITLE>
></HEAD><BODY>
><H1>Bad Request</H1>
>Your browser sent a request that this server could not understand.<P>
>Client sent malformed Host header<P>
><HR>
><ADDRESS>Apache/1.3.14 Server at <A
>HREF="mailto:support@hypergeo.org"><http://www.hypergeo.org>www.hypergeo.org</A>
>Port 80</ADDRESS>
></BODY></HTML>
--
Maarten Coene
K.U.Leuven
Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee