Hi, I am new to axis2 and web services. I was trying to execute the the basic= sample example given with Rampart. I am getting following request and= responses. Can you tell me where I am going wrong.
Request: POST /axis2/services/sample02 HTTP/1.1 Content-Type: text/xml; charset=3DUTF-8 SOAPAction: "urn:echo" User-Agent: Axis2 Host: 127.0.0.1:8081 Transfer-Encoding: chunked 49a <?xml version=3D'1.0' encoding=3D'UTF-8'?><soapenv:Envelope xmlns:soapenv= =3D"http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header> <wsse:Security xmlns:wsse= =3D"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-sece= xt-1.0.xsd" soapenv:mustUnderstand=3D"1"><wsu:Timestamp xmlns:wsu= =3D"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-util= ity-1.0.xsd" wsu:Id= =3D"Timestamp-25610032"><wsu:Created>2008-02-14T07:30:23.018Z</wsu:Created>= <wsu:Expires>2008-02-14T07:35:23.018Z</wsu:Expires></wsu:Timestamp><wsse:Us= ernameToken xmlns:wsu= =3D"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-util= ity-1.0.xsd" wsu:Id= =3D"UsernameToken-3860801"><wsse:Username>bob</wsse:Username><wsse:Password= Type= =3D"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-= profile-1.0#PasswordDigest">Ojbn0fGTA3w6A9MMdCGAI4w+7D4= =3D</wsse:Password><wsse:Nonce>IayhqO7tNWK2XtGnI2G3CQ=3D= =3D</wsse:Nonce><wsu:Created>2008-02-14T07:30:23.002Z</wsu:Created></wsse:U= sernameToken></wsse:Security></soapenv:Header><soapenv:Body><ns1:echo= xmlns:ns1=3D"http://sample02.samples.rampart.apache.org/xsd"><param0>Hello= world</param0></ns1:echo></soapenv:Body></soapenv:Envelope> 0 Response: HTTP/1.1 500 Internal server error Date: Thu, 14 Feb 2008 07:30:23 GMT Server: Simple-Server/1.1 Transfer-Encoding: chunked Content-Type: text/xml; charset=3DUTF-8 Connection: Close 6d0 <?xml version=3D'1.0' encoding=3D'UTF-8'?><soapenv:Envelope xmlns:soapenv= =3D"http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header= /><soapenv:Body><soapenv:Fault><faultcode></faultcode><faultstring></fault= string><detail><Exception>org.apache.axis2.AxisFault
 at= org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.= java:100)
 at= org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)&#= xd; at= org.apache.axis2.engine.Phase.invoke(Phase.java:383)
 at= org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:203)
 at= org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:131)
 at= org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(= HTTPTransportUtils.java:279)
 at= org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:216)&#x= d; at= org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpS= ervice.java:275)
 at= org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisH= ttpService.java:184)
 at= org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServic= eProcessor.java:74)
 at= edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.r= unTask(ThreadPoolExecutor.java:665)
 at= edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.r= un(ThreadPoolExecutor.java:690)
 at java.lang.Thread.run(Thread.java:534)
 Caused by: java.lang.NullPointerException
 at= org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.ja= va:329)
 at= org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.= java:91)
 ... 12 more
 </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> 0 **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
