Mike, This looks completely reasonable == I shall give it a run later this evening. For now, I'm going to go the Apache SOAP route I believe -- then come back at it with Axis when I get a few free minutes (deadlines and all).
Thanks again, Cory -----Original Message----- From: Daleiden, Mike [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 3:12 PM To: [EMAIL PROTECTED] Subject: RE: AdminClient Cory - I've implemented code similar to this to deploy/register my service: String opts[] = new String[1]; opts[0] = "-l<your registration URL>"; <== e.g., http://localhost:8080/myapp/services/AdminService try { serviceOptions = new Options(opts); } catch (Exception e) { serviceOptions = null; } AdminClient axisAdmin = new AdminClient(); InputStream wsddStream = this.getClass().getResourceAsStream("myservice.wsdd"); if (wsddStream != null) { try { String reg = axisAdmin.process(serviceOptions, wsddStream); if (reg != null) SUCCESS else FAILURE } catch (Exception e) { REGISTRATION ERROR } } else FAILED TO OPEN WSDD Hope this helps. --Mike -----Original Message----- From: Cory Wilkerson [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: RE: AdminClient As a side note -- I should also mention that I've integrated Axis with my pre-existing web-app located at http://localhost. That may be a nice detail to know. Thanks, Cory -----Original Message----- From: Cory Wilkerson Sent: Thursday, December 19, 2002 2:47 PM To: [EMAIL PROTECTED] Subject: AdminClient All, With Apache SOAP I was able to invoke the org.apache.soap.server.ServiceManager client with a url (rpcrouter) at which to register a serivce as described by my descriptor. I don't seem to be able to find the analogous process in AXIS service deployment, ie, I see AdminClient but I don't see that I'm able to actually to pass it an url against which to register the service. It appears as if I have to have access to the the directory in which the deployment descriptor is located...which, in some cases, I'm not going to have. Could someone please advise? Thanks, Cory Wilkerson