You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Finn, Kerry" <Ke...@gdc4s.com> on 2004/06/02 14:52:58 UTC
Axis newbie question - installation step 7 testing - 401 unauthorized
Hi,
I've installed Axis and worked through most of the installation guide until step 7:testing. This test runs the "samples.stock.GetQuote" and I get a "401" return code - "unauthorized" error?
Any ideas? All the other test ran fine up until this point.
The error log is below.
thanks,
Kerry
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}string: return code: 401
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelop
e/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
<http://www.w3.org/2001/XMLSchema-instance">>;
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server
.Unauthenticated</faultcode>
<faultstring>User &apos;user1&apos; not authenticated</fault
string>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:630)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at samples.stock.GetQuote.getQuote(GetQuote.java:120)
at samples.stock.GetQuote.main(GetQuote.java:134)
$ \