On Tue, Dec 8, 2009 at 8:17 AM, Hasini Gunasinghe <hasi7...@gmail.com>wrote:
> Hi, > > I am using axis2 stand alone server to deploy the web services. And I need > to forward the same soap envelope between several web services by only > changing the header of the soap envelope. > When I searched for a way to achieve that I found that detaching the > existing header and adding a new header would do. But it didn't work. I use > OperationClient API to invoke web services along the communication path. > When I set the action in the options of service client in a intermediate > web service and forward the soap envelope, axis2 throws an exception saying > that soap action and wsa:action mismatch. That is because the original > header contains a different action put by the WS-addressing. > try removing the Addressing headers. thanks, Amila. > > Can you please tell me the correct way to forward a soap envelope through > several web services deployed in one or more axis2 servers? > Thank you very much. > > regards, > Hasini. > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/