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 "Richard J. Diamond" <rj...@moonlighting.com> on 2001/02/05 23:35:34 UTC

getting white space problem when attemting to set up tests

Hi.

Sorry if this has been dealt with already (I only joined the group
today).


I have installed on my win98 pc apache 1.3.14, tomcat 3.2.1, soap 2.0,
xerces 1.3.0 and the ApacheModuleJServ dll.


Everything appears to start normally. However, when I enter the command


java org.apache.soap.server.ServiceManagerClient 
http://127.0.0.1/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml


to install any of the sample services provided with soap, I get the
following error:


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:1060
)
        at
org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDS
canner.java:651)
        at
org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanne
r.java:1198)
        at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScann
er.java:1104)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDoc
umentScanner.java:2197)
        at
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocument
Scanner.java:86)
        at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
atch(XMLDocumentScanner.java:776)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java, Compiled Code)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
        at
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison
.java:85)
        at org.apache.soap.rpc.Call.invoke(Call.java:157)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:110)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:123)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java, Compiled Code)
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
msg=<!DO
CTYPE 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 127.0.0.1 Port 80</ADDRESS>
</BODY></HTML>
]
        at org.apache.soap.rpc.Call.invoke(Call.java:167)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:110)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:123)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java, Compiled Code)



Curiously, if I use soap service deployment browser page (taking the
details from the deployment xml) the service deploys successfully.
However, when I try to access the service, I once again get the white
space error.

I would appreciate any advice on how to get these examples working.

Many thanks,

Richard

Re: getting white space problem when attemting to set up tests

Posted by craig mclaughlin <cp...@yahoo.com>.
Hey Richard.

No answers...but I am in the exact same situation -
just started and getting the same message - on
WebSphere v3.5.  

Please let me know if you got this fixed...

Thanks.

Craig
--- "Richard J. Diamond" <rj...@moonlighting.com> wrote:
> Hi.
> 
> Sorry if this has been dealt with already (I only
> joined the group
> today).
> 
> 
> I have installed on my win98 pc apache 1.3.14,
> tomcat 3.2.1, soap 2.0,
> xerces 1.3.0 and the ApacheModuleJServ dll.
> 
> 
> Everything appears to start normally. However, when
> I enter the command
> 
> 
> java org.apache.soap.server.ServiceManagerClient 
> http://127.0.0.1/soap/servlet/rpcrouter deploy
> DeploymentDescriptor.xml
> 
> 
> to install any of the sample services provided with
> soap, I get the
> following error:
> 
> 
> 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:1060
> )
>         at
>
org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDS
> canner.java:651)
>         at
>
org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanne
> r.java:1198)
>         at
>
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScann
> er.java:1104)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDoc
> umentScanner.java:2197)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocument
> Scanner.java:86)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:776)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java, Compiled Code)
>         at
>
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
>         at
>
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison
> .java:85)
>         at
> org.apache.soap.rpc.Call.invoke(Call.java:157)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
> nt.java:123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java, Compiled Code)
> Exception in thread "main" [SOAPException:
> faultCode=SOAP-ENV:Protocol;
> msg=<!DO
> CTYPE 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 127.0.0.1 Port
> 80</ADDRESS>
> </BODY></HTML>
> ]
>         at
> org.apache.soap.rpc.Call.invoke(Call.java:167)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
> nt.java:123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java, Compiled Code)
> 
> 
> 
> Curiously, if I use soap service deployment browser
> page (taking the
> details from the deployment xml) the service deploys
> successfully.
> However, when I try to access the service, I once
> again get the white
> space error.
> 
> I would appreciate any advice on how to get these
> examples working.
> 
> Many thanks,
> 
> Richard


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

Re: getting white space problem when attemting to set up tests

Posted by craig mclaughlin <cp...@yahoo.com>.
Hey Richard.

No answers...but I am in the exact same situation -
just started and getting the same message - on
WebSphere v3.5.  

Please let me know if you got this fixed...

Thanks.

Craig
--- "Richard J. Diamond" <rj...@moonlighting.com> wrote:
> Hi.
> 
> Sorry if this has been dealt with already (I only
> joined the group
> today).
> 
> 
> I have installed on my win98 pc apache 1.3.14,
> tomcat 3.2.1, soap 2.0,
> xerces 1.3.0 and the ApacheModuleJServ dll.
> 
> 
> Everything appears to start normally. However, when
> I enter the command
> 
> 
> java org.apache.soap.server.ServiceManagerClient 
> http://127.0.0.1/soap/servlet/rpcrouter deploy
> DeploymentDescriptor.xml
> 
> 
> to install any of the sample services provided with
> soap, I get the
> following error:
> 
> 
> 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:1060
> )
>         at
>
org.apache.xerces.framework.XMLDTDScanner.reportFatalXMLError(XMLDTDS
> canner.java:651)
>         at
>
org.apache.xerces.framework.XMLDTDScanner.scanExternalID(XMLDTDScanne
> r.java:1198)
>         at
>
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScann
> er.java:1104)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDoc
> umentScanner.java:2197)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocument
> Scanner.java:86)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:776)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java, Compiled Code)
>         at
>
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
>         at
>
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison
> .java:85)
>         at
> org.apache.soap.rpc.Call.invoke(Call.java:157)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
> nt.java:123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java, Compiled Code)
> Exception in thread "main" [SOAPException:
> faultCode=SOAP-ENV:Protocol;
> msg=<!DO
> CTYPE 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 127.0.0.1 Port
> 80</ADDRESS>
> </BODY></HTML>
> ]
>         at
> org.apache.soap.rpc.Call.invoke(Call.java:167)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
> nt.java:123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java, Compiled Code)
> 
> 
> 
> Curiously, if I use soap service deployment browser
> page (taking the
> details from the deployment xml) the service deploys
> successfully.
> However, when I try to access the service, I once
> again get the white
> space error.
> 
> I would appreciate any advice on how to get these
> examples working.
> 
> Many thanks,
> 
> Richard


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/