Title: 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">>;
&lt;soapenv:Body&gt;
&lt;soapenv:Fault&gt;
&lt;faultcode xmlns:ns1=&quot;http://xml.apache.org/axis/">ns1:Server
.Unauthenticated&lt;/faultcode&gt;
&lt;faultstring&gt;User &amp;apos;user1&amp;apos; not authenticated&lt;/fault
string&gt;
&lt;detail/&gt;
&lt;/soapenv:Fault&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;

(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)
$ \

Reply via email to