You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Olivier Thomas <ol...@wanadoo.fr> on 2001/01/26 18:24:27 UTC

authentication by client certificate

Hi,

Is it possible to do client authentication with SOAP ? I know that server
authtentication is done on the client side, how about the opposite ?

Olivier.


I got weird error...

Posted by fumitada <fu...@earthlink.net>.
Hi all,

Although I success to install soap into JRun, I get errors.

When I visit this address
http://www.b2bfortomorrow.com/xml-soap/servlet/rpcrouter where
b2bfortomorrow.com is my domain name running JRun3.0 on Apache1.3.12, it
says "Sorry, I don't speak via HTTP GET- you have to...".
It means I successfully installed soap into JRun, right ?

but when I deploy my simple code and try, I get errors below ( client's prompt
screen ).


//---------- ERROR------------------------------------
org.xml.sax.SAXParseException: White space is required between the public identi
fier and the system identifier.
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056
)
        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:2192)
        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:948)
        at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison
.java:85)
        at org.apache.soap.rpc.Call.invoke(Call.java:157)
		at Client.main(Client.java:26)
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.12 Server at www.trevor.senternet.com Port 80</ADDRESS>
</BODY></HTML>
// ---------- END OF ERROR -----------------------------


you can see www.trevor.senternet.com, that's my hosting company's
server. ( http://www.senternet.com ) 

The simple code I tried works well on my local Tomcat server, but remote
JRun.

The simple code just gets 2 strings and concatenate those, and return to
 the client.

What kinda mistakes do I seem to have ?
or Do I have to change apache settings ?

I got weird error...

Posted by fumitada <fu...@earthlink.net>.
Hi all,

Although I success to install soap into JRun, I get errors.

When I visit this address
http://www.b2bfortomorrow.com/xml-soap/servlet/rpcrouter where
b2bfortomorrow.com is my domain name running JRun3.0 on Apache1.3.12, it
says "Sorry, I don't speak via HTTP GET- you have to...".
It means I successfully installed soap into JRun, right ?

but when I deploy my simple code and try, I get errors below ( client's prompt
screen ).


//---------- ERROR------------------------------------
org.xml.sax.SAXParseException: White space is required between the public identi
fier and the system identifier.
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056
)
        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:2192)
        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:948)
        at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison
.java:85)
        at org.apache.soap.rpc.Call.invoke(Call.java:157)
		at Client.main(Client.java:26)
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.12 Server at www.trevor.senternet.com Port 80</ADDRESS>
</BODY></HTML>
// ---------- END OF ERROR -----------------------------


you can see www.trevor.senternet.com, that's my hosting company's
server. ( http://www.senternet.com ) 

The simple code I tried works well on my local Tomcat server, but remote
JRun.

The simple code just gets 2 strings and concatenate those, and return to
 the client.

What kinda mistakes do I seem to have ?
or Do I have to change apache settings ?

RE: authentication by client certificate

Posted by Erik Gellatly <eg...@niku.com>.
Olivier -  Did you ever get an answer to this question on the list-serv or
out-of-band?  If so, would you mind telling me?

Thanks,
Erik

Erik Gellatly, JD     egellatly@niku.com
Senior Product Manager (650) 701-2725
Niku Corporation   http://www.niku.com


-----Original Message-----
From: Olivier Thomas [mailto:olivier.thomas.inexbee@wanadoo.fr]
Sent: Friday, January 26, 2001 9:24 AM
To: SOAP mailing list
Subject: authentication by client certificate


Hi,

Is it possible to do client authentication with SOAP ? I know that server
authtentication is done on the client side, how about the opposite ?

Olivier.


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: authentication by client certificate

Posted by Erik Gellatly <eg...@niku.com>.
Olivier -  Did you ever get an answer to this question on the list-serv or
out-of-band?  If so, would you mind telling me?

Thanks,
Erik

Erik Gellatly, JD     egellatly@niku.com
Senior Product Manager (650) 701-2725
Niku Corporation   http://www.niku.com


-----Original Message-----
From: Olivier Thomas [mailto:olivier.thomas.inexbee@wanadoo.fr]
Sent: Friday, January 26, 2001 9:24 AM
To: SOAP mailing list
Subject: authentication by client certificate


Hi,

Is it possible to do client authentication with SOAP ? I know that server
authtentication is done on the client side, how about the opposite ?

Olivier.


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org