I've gotten faults to display in the SOAPMonitor using the sample in $AXIS_HOME/samples/faults by doing nothing different. Just add in the <requestFlow> and <responseFlow> tags to the service's deploy.wsdd file and redeploy the service. The service name Employee. I don't know what the behavior is supposed to be for this service, but it looks like it will always throw a fault no matter if adding an employee id using the services addEmployee method. The url I'm using to add an ID is:
http://localhost:8080/axis/services/Employee?method=addEmployee&in=XXX that shows this response in the SOAPMonitor: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <addEmployeeResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </soapenv:Body> </soapenv:Envelope> and to get employee: http://localhost:8080/axis/services/Employee?method=getEmployee&id=XXX the last link gives me this output: <soapenv:Envelope> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>samples.faults.NoSuchEmployeeFault</faultstring> <detail> <ns1:hostname>vjong-lnx-corp.corp.google.com</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> and the SOAPMonitor shows the request, but doesn't show the response. If this isn't the Axis Faults you're speaking of, my apologies. On Tue, 28 Dec 2004 09:52:04 -0800, Jayaraman, Venkatesh <[EMAIL PROTECTED]> wrote: > I am not able to get the Axis Faults displayed on SOAP Monitor. > Is this by design? > > Is there any way to display the Axis Faults responses in SOAP Monitor? > > -Venky > > > -----Original Message----- > From: Vincent Jong [mailto:[EMAIL PROTECTED] > Sent: Monday, December 27, 2004 11:25 PM > To: [EMAIL PROTECTED] > Subject: Re: SOAPMonitor next question > > 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 >