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
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelop
e/&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;
<http://www.w3.org/2001/XMLSchema-instance&quot;&gt>;
&lt;soapenv:Body&gt;
&lt;soapenv:Fault&gt;
&lt;faultcode xmlns:ns1=&quot;http://xml.apache.org/axis/&quot;&gt;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)
$ \