The moose likes Web Services and the fly likes SOAPMonitorApplet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "SOAPMonitorApplet" Watch "SOAPMonitorApplet" New topic
Author

SOAPMonitorApplet

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 234
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: 32767
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 ]

Android appsImageJ pluginsJava web charts
 
 
subject: SOAPMonitorApplet
 
Threads others viewed
msg=No Deserializer found to deserialize a ':return'
beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl
Object that contain ArrayList
Handler executed on name Matching.......
NullPointerException returned from webservice
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture