Thanks a lot.. I added the WSDL and it worked :)
--------------- Regards, Shradha -----Original Message----- From: Asankha C. Perera [mailto:[email protected]] Sent: Friday, December 26, 2008 11:15 AM To: [email protected] Subject: Re: Problem using WS-Security in proxy service(Invalid Security Exception) Hi Shradha > */But when I invoke the service in synapse I get an invalid security > exception/*. (Message never reaches the inSequence)-- > > *_STACK TRACE--_* > > 2008-12-26 10:48:14,771 [10.207.70.56-EC4T16ES-169579] > [HttpServerWorker-8] ERROR AxisEngine InvalidSecurity > org.apache.axis2.AxisFault: InvalidSecurity I have seen that a common cause for Rampart to throw this error is when we create proxy services with policies, but without a WSDL.. Though Synapse can work perfectly without a WSDL, it seems that Rampart looks for this to figure out the operation, which is used for security cheers asankha -- Asankha C. Perera http://adroitlogic.org http://esbmagic.blogspot.com Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
