Not right now, sorry. I created the webservice because I needed to be able to deploy webservices from any machine, not just from the machine Axis2 is deployed on.
You could look at the code [1] to find out how to initiate the ConfigurationContext. Look for initConfigContext. Brecht [1] http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel /src/org/apache/axis2/transport/http/AxisServlet.java?revision=503895&vi ew=markup -----Original Message----- From: Evaldas Taroza [mailto:[EMAIL PROTECTED] Sent: dinsdag 6 februari 2007 13:53 To: Brecht Yperman Subject: Re: [Axis2] Using axis2.war repository remotely from another application Hi, Thanks for the answer. But I suppose there should be something much simpler. Look: ConfigurationContext ctx = ???; AxisService service = AxisService.createService( TestService.class.getCanonicalName(), ctx.getAxisConfiguration(), RPCMessageReceiver.class); ctx.getAxisConfiguration().addService(service); The only problem is to get that context. Well, I can create it from file, point the repository to [Tomcat_webapps]/axis2/WEB-INF, but the problem is that the axis2 webapp does not see this way deployed services... Any ideas? Thanks, Zeppe Brecht Yperman wrote: > Hi, > > I've done this creating a webservice which mimicks behaviour from the > AxisAdminServlet (AdminAgent.processUpload). > > Basically it's a webservice that takes user credentials (to prevent > anyone from deploying webservices), a base64 encoded webservice jar and > a filename, and writes the bytes from the jar to the repository using > the filename. > > Best regards, > Brecht > > -----Original Message----- > From: Evaldas Taroza [mailto:[EMAIL PROTECTED] > Sent: dinsdag 6 februari 2007 13:23 > To: [email protected] > Subject: [Axis2] Using axis2.war repository remotely from another > application > > Hi, > I want to programmatically deploy modules/services to the axis2 > repository configured in axis2.war. This way I want to be able to admin > the services I deploy from my application using axis2.war administration > > page. > > As far as I understand I need to somehow get the instance of > ConfigurationContext that axis2.war is using. How to do it? Or am I > totally wrong? > > Thanks, > > Zeppe > > --------------------------------------------------------------------- > 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]
