Writing in-only Mock Web Service

ysbeer's picture
I am trying to write a mock webservice that will take an message, log it and then drop it. No response is expected to be sent to the client. I can install the service as below into the ESB without any problem, but when exercise it from the tryIt service I always get the same error: Fault: SOAP envelope error [detail] org.apache.axis2.AxisFault: The input stream for an incoming message is null. I am not sure whether the OUT_ONLY property is the right thing to do, but it fails with or without it anyway Synapse XML:
indika's picture

Hi Try with OUT_ONLY

Hi Try with OUT_ONLY property. It is to be used to achieve one way communication. Thanks Indika
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)