Thanks Steve. I did everything what you suggested. But this time, when I invoke my web service it throws the following exception
System.Web.Services.Protocols.SoapException: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at com.closepf.services.IPromptServices.adjustLoan(MTATransactionRequest request) at example.client.Client.adjustLoan(IPromptServices ipromptServices) I can see the request flowing in the SoapMonitor but then it throws the above exception. "Steve Barham" <[EMAIL PROTECTED]> 05/05/2006 13:51 Please respond to [email protected] To [email protected] cc Subject Re: [Axis 1.3] Null pointer when launching SoapMonitor Have you enabled the SOAPMonitor servlet in your web.xml? <servlet> <servlet-name>SOAPMonitorService</servlet-name> <display-name>SOAPMonitorService</display-name> <servlet-class> org.apache.axis.monitor.SOAPMonitorService </servlet-class> <init-param> <param-name>SOAPMonitorPort</param-name> <param-value>5001</param-value> </init-param> <load-on-startup>100</load-on-startup> </servlet> <servlet-mapping> <servlet-name>SOAPMonitorService</servlet-name> <url-pattern>/SOAPMonitor</url-pattern> </servlet-mapping> By way of comparison, my deployment descriptor for testing a single service is: <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service name="MessageService" provider="java:RPC"> <requestFlow> <handler name="soapmonitor" type="java:org.apache.axis.handlers.SOAPMonitorHandler"/> </requestFlow> <parameter name="className" value="com.foo.bar.webservice.MessageService"/> <parameter name="allowedMethods" value="*"/> <responseFlow> <handler name="soapmonitor" type="java:org.apache.axis.handlers.SOAPMonitorHandler"/> </responseFlow> </service> </deployment> Cheers, steve > Thanks Steve. > That has solved that problem but when I start the monitor I am not able to > see any activity. Below is my deploy-monitor.wsdd file : > > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > <handler name="soapmonitor" > type="java:org.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="http://localhost:8080/axis/services/IPromptServices/createLoan" > provider="java:RPC"> > <requestFlow> > <handler type="soapmonitor"/> > </requestFlow> > <responseFlow> > <handler type="soapmonitor"/> > </responseFlow> > </service> > </deployment> > > > Please let me know if I am missing anything. > > > > > "Steve Barham" <[EMAIL PROTECTED]> > 05/05/2006 13:24 > Please respond to > [email protected] > > > To > [email protected] > cc > > Subject > Re: [Axis 1.3] Null pointer when launching SoapMonitor > > > > > > > Hi, > > If the NPE is down to not being able to load the classes, then copy all > the SOAPMonitorApplet* class files from: > > axis-1_3\webapps\axis\WEB-INF\classes > > to the root directory of your webapp - ie. on the top level, so that they > are accessible as /SOAPMonitorApplet*.class > > You can find the source to the SOAPMonitorApplet at: > > axis-1_3\webapps\axis\SOAPMonitorApplet.java > > Cheers, > > Steve > > > > >> Hi All, >> >> I am trying to launch the soap monitor applet but it throws a null > pointer >> exception and applet does not load up. >> >> I have tried looking for the class SOAPMonitorApplet in the > distribution >> of Axis 1.3 but it appears to be missing. >> >> Could anybody please tell me how to fix this. >> >> Regards, >> Santunu >> >> This message (including any attachments) is confidential and may be >> privileged. If you have received it by mistake please notify the sender > by >> return e-mail and delete this message from your system. Any unauthorised >> use or dissemination of this message in whole or in part is strictly >> prohibited. Please note that e-mails are susceptible to change. Close >> Premium Finance shall not be liable for the improper or incomplete >> transmission of the information contained in this communication nor for >> any delay in its receipt or damage to your system. Close Premium Finance >> does not guarantee that the integrity of this communication has been >> maintained nor that this communication is free of viruses, interceptions >> or interference. >> > > > -- > Steve Barham tel: +44 (0)7973 199 471 > Systems Engineer > Formicary - delivering quality financial technology solutions > http://www.formicary.net/ > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. > > > > This message (including any attachments) is confidential and may be > privileged. If you have received it by mistake please notify the sender by > return e-mail and delete this message from your system. Any unauthorised > use or dissemination of this message in whole or in part is strictly > prohibited. Please note that e-mails are susceptible to change. Close > Premium Finance shall not be liable for the improper or incomplete > transmission of the information contained in this communication nor for > any delay in its receipt or damage to your system. Close Premium Finance > does not guarantee that the integrity of this communication has been > maintained nor that this communication is free of viruses, interceptions > or interference. > -- Steve Barham tel: +44 (0)7973 199 471 Systems Engineer Formicary - delivering quality financial technology solutions http://www.formicary.net/ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Close Premium Finance shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Close Premium Finance does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference.
