Adding a timestamp to the service

<service name="Service1">
<description>
This is a sample Web Service
</description>
<parameter name="ServiceClass" locked="false">CMSService</parameter>
<parameter name="InflowSecurity">
<action>
<items>Timestamp</items>
</action>
</parameter>
<parameter name="OutflowSecurity">
<action>
<items>Timestamp</items>
</action>
</parameter>
<operation name="getNumberOfArticles"> <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>
</service>

Axis2 enables Frances to specifically control messages flowing both
into and out of the service. In this case, she's told the Web services
engine to require incoming messages to include a Timestamp, and to
include a Timestamp in the outgoing messages returned to the client.

No comments:

Post a Comment