Hi jesse,
to deploy axis Services in the axis webapp, you have to copy the classes to the 
webapp classpath, or as jar to the libs. After that you can deploy/undeploy the 
service with the "org.apache.axis.client.AdminClient". It would be nice, if the 
maven plugin can deploy a service in an axis WebServiceEngine.

Fredy

@see: http://ws.apache.org/axis/java/user-guide.html

clipping:

Using the AdminClient

Once we have this file, we need to send it to an Axis server in order to 
actually deploy the described service. We do this with the AdminClient, or the 
"org.apache.axis.client.AdminClient" class. If you have deployed Axis on a 
server other than Tomcat, you may need to use the -p <port> argument. The 
default port is 8080. A typical invocation of the AdminClient looks like this:

% java org.apache.axis.client.AdminClient deploy.wsdd
<Admin>Done processing</Admin>

This command has now made our service accessible via SOAP. Check it out by 
running the Client class - it should look like this:

% java samples.userguide.example3.Client
  -lhttp://localhost:8080/axis/services/MyService "test me!"
You typed : test me!
%

If you want to prove to yourself that the deployment really worked, try 
undeploying the service and calling it again. There's an "undeploy.wsdd" file 
in the example3/ directory which you can use just as you did the deploy.wsdd 
file above. Run the AdminClient on that file, then try the service Client again 
and see what happens.

You can also use the AdminClient to get a listing of all the deployed 
components in the server:

% java org.apache.axis.client.AdminClient list
<big XML document returned here>

In there you'll see services, handlers, transports, etc. Note that this listing 
is an exact copy of the server's "server-config.wsdd" file, which we'll talk 
about in more detail a little later.




[email protected] schrieb am 26.01.06 19:52:45:
I am not a huge axis user, I just work on the plugin some..
 
 care to explain more of what you are looking for from it?

 jesse
 
On 1/26/06, Fredy <[EMAIL PROTECTED]> wrote: Hi,
do you think about including the adminclient in the plugin?

Fredy



-- 
jesse mcconnell 

-- 
Mit freundlichen Grüßen
Fred Robert Hauschel

http://www.Hauschel.de

Mobil:    0179  - 6917092
Telefon:  07427 - 91179
Fax:      07427 - 91178


Reply via email to