you need to set up the service's deploy.wsdd file.  It's actually
pretty simple as you just add <requestFlow> and <responseFlow> tags. 
Let's take one of the samples from the binary distrobution (axis and
the samples are already compiled).  cd to $AXIS_HOME/samples/Math and
open up deploy.wsdd.  under the service name tag, put in these lines:

       <requestFlow> 
         <handler type="soapmonitor"/> 
       </requestFlow> 
       <responseFlow> 
         <handler type="soapmonitor"/> 
       </responseFlow>

save the file.  if this service is already deployed, then undeploy it
and redeploy it (redeploy after changing the deploy.wsdd file).

You shouldn't need to restart your appserver ( I could be wrong on
this), but, anyway, whenever you run the Math service, you'll see it
pop up on the SOAPMonitor.

To run the math service, try this url:

http://localhost:8080/axis/services/Math?method=add&a=10&b=20

Note:  I'm not sure off the top of my head, but I think I read
somewhere that SOAPMonitor doesn't work with JWS services.

On Mon, 27 Dec 2004 19:51:56 +0100, Robert Gombotz
<[EMAIL PROTECTED]> wrote:
>  
> Hi! 
>   
> I have gotten the applet to display now. I have also deployed a simple Web
> Service and written a client for it. 
> However, the SOAPMonitor does not seem to do anything. 
> The calls to the WS ar working fine, I get the return values, but the
> SOAPMonitor applet remains empty.... 
> Does the SOAPMonitorService monitor all deployed WS? Or do they have to be
> registered with the SOAPMonitor in any way? 
>   
> any help is appreciated 
>   
> Robert

Reply via email to