Thanks you very much. Sorry to be lamed but I don't know how to access
Configuration Context. Here is my application structure (in Tomcat ->
webapps) :
MyApplication
--some folders ...
--WEB-INF
--classes
--lib (I placed Axis2 libs here)
--services
--MyWebService
--META-INF
--services.xml (<service name="helloWorld" scope="application">
... </service>)
--web.xml
In web.xml I defined :
<servlet>
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/servlet/AxisServlet</url-pattern>
</servlet-mapping>
Can you please give me some code snippets. Thank you very much and best
wishes to you.
On Wed, 23 Jan 2008 11:41:10 +0000, "Michele Mazzucco"
<[EMAIL PROTECTED]> said:
> Thanh,
>
> once you have access to the configuration context:
> configurationContext.getAxisConfiguration().removeService(name);
>
> or
> configurationContext.getAxisConfiguration().stopService(serviceName)
>
>
> Michele
>
> On 23 Jan 2008, at 10:56, Thanh Lan wrote:
>
> > Hello all.
> >
> > I am new to Axis2 and I want to stop or remove or un-registered a
> > deployed web services programmatically. But I can't find any useful
> > information. Can you show me any code snippets?
> >
> > Thanks you very much. Best wishes to you.
> >
> > --
> > http://www.fastmail.fm - Or how I learned to stop worrying and
> > love email again
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
http://www.fastmail.fm - Same, same, but differentÂ…
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]