aspose file tools*
The moose likes Web Services and the fly likes SOAPMonitorApplet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPMonitorApplet" Watch "SOAPMonitorApplet" New topic
Author

SOAPMonitorApplet

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Hello Friends
I have got the SOAPMonitorApplet working when i invoke the URL.

But I cannot see anything happening to it inside. I followed the installation guidelines and find below my monitor-deploy.wsdd
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<handler name="soapmonitor"
type="java rg.apache.axis.handlers.SOAPMonitorHandler">
<parameter name="wsdlURL"
value="/axis/SOAPMonitorService-impl.wsdl"/>
<parameter name="namespace"
value="http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl"/>
<parameter name="serviceName" value="SOAPMonitorService"/>
<parameter name="portName" value="Demo"/>
</handler>
<service name="SOAPMonitorService" provider="java:RPC">
<parameter name="allowedMethods" value="publishMessage"/>
<parameter name="className"
value="org.apache.axis.monitor.SOAPMonitorService"/>
<parameter name="scope" value="Application"/>
</service>
<service name="urn:xmltoday-delayed-quotes" provider="java:RPC">
<requestFlow>
<handler type="soapmonitor"/>
</requestFlow>
<responseFlow>
<handler type="soapmonitor"/>
</responseFlow>
</service>
</deployment>


Please can you let me know what is going wrong because of which i cannot see any details in the webscreens of SOAP monitor applet when i call run GetQuote webservice from my command prompt. I get result 55.25

Please any comments will be appreciated


SCJP, SCWCD, SCBCD, SCEA 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42623
    
  65
Once you have deployed the Monitor (as you seem to have done successfully), you need to incorporate it in the request and response flows of the services you wish to monitor. SOAPMonitor is a JAX-RPC handler like all others. So your deployment descriptor would look like:



soapmonitor needs to be first in the request flow, and last in the response flow, or else the other handlers might remove or alter the message. Some more detail can be found here.
[ October 23, 2005: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: SOAPMonitorApplet