AdminClient is a class that communicate with the AxisServlet OK ?
So to contact this servlet, AdminClient must have an URL. By default,
AdminClient search axis here :
http://localhost:8080/axis/servlet/AxisServlet
so if axis is not deployed at this place for your application, you have
to specify a new location (with the -l option)!

Clear ?

Regards
Guillaume

SUNILK_CHAMARTI wrote:
> 
> This did the magic.
> 
> Guillaume - I am new to Axis and web services. Could you please explain me what did 
> this line "java org.apache.axis.client.AdminClient 
> -lhttp://localhost:8888/<webapp>/servlet/AxisServlet deploy.wsdd"  do?
> 
> -----Original Message-----
> From: Guillaume Sauthier [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 03, 2003 1:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Error deploying WSDD
> 
> 404 Error means that you do not point to a right location for the Axis
> servlet !
> 
> the option to set to indicate the full path to the servlet is -l
> 
> example :
> java org.apache.axis.client.AdminClient
> -lhttp://localhost:8888/<webapp>/servlet/AxisServlet deploy.wsdd
> 
> where <webapp> is the Context of the webapp with Axis.
> 
> Regards
> Guillaume
> 
> SUNILK_CHAMARTI wrote:
> >
> > I am trying to start Admin Client to deploy my WSDD and I get the following error. 
> > Any pointers to fix this?
> >
> > C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes\samples\userguide\example3>java
> >  org.apache.axis.clie
> > nt.AdminClient -p8888 deploy.wsdd
> > [INFO] AdminClient - -Processing file deploy.wsdd
> > AxisFault
> >  faultCode: {http://xml.apache.org/axis/}HTTP
> >  faultString: (404)Not Found
> >  faultActor: null
> >  faultDetail:
> >         null: return code:  404
> > &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not 
> > Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not 
> > Found&lt;/H1&gt;Resour
> > ce /axis/services/AdminService not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
> >
> > (404)Not Found
> >         at 
> > org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
> >         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
> >         at 
> > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> >         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
> >         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
> >         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
> >         at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
> >         at org.apache.axis.client.Call.invoke(Call.java:2102)
> >         at org.apache.axis.client.Call.invoke(Call.java:1296)
> >         at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
> >         at org.apache.axis.client.AdminClient.process(AdminClient.java:298)
> >         at org.apache.axis.client.AdminClient.process(AdminClient.java:305)
> >         at org.apache.axis.client.AdminClient.process(AdminClient.java:256)
> >         at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
> > [ERROR] AdminClient - -Exception: <(404)Not Found>

Reply via email to