<service name="CaseCreate" >
<Description>
Please Type your service description here
</Description>
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
<parameter name="ServiceClass" locked="false">casecreate.CaseCreate</parameter>
<parameter name="InflowSecurity">
<action>
<items>UsernameToken</items>
<passwordCallbackClass>com.myproject.authentication.PWCBHandler</passwordCallbackClass>
</action>
</parameter>
<module ref="rampart" />
</service>
以上是我尝试使用的 services.xml,但 eclipse 告诉我这不是一个有效的 sevices.xml 文件。当我使用 name="InflowSevcurity" 删除参数时,Eclipse 不会抱怨。有谁知道为什么?