0
以下是我的序列我是基於clientid和modifiedon過濾,它是給予正確的數據,當我在肥皂端運行以及查詢是好的。我的序列太長了,所以請通過這個
<?xml version="1.0" encoding="UTF-8"?>
<sequence xmlns="http://ws.apache.org/ns/synapse" name="ParameterMobile_Seq">
<property xmlns:ns="http://org.apache.synapse/xsd"
name="WorkPartyBranchId"
expression="//WorkPartyBranchId/text()"/>
<log level="full">
<property xmlns:ns="http://org.apache.synapse/xsd"
name="kk"
expression="get-property('Authentication')"/>
</log>
<filter xmlns:ns="http://org.apache.synapse/xsd"
xpath="get-property('Authentication')='false'">
<then>
<payloadFactory>
<format>
<ResponseJSON xmlns="">
<Exception>Authentication Failed</Exception>
<Status>404</Status>
</ResponseJSON>
</format>
</payloadFactory>
<property name="HTTP_METHOD" value="POST" scope="axis2" type="STRING"/>
<property name="RESPONSE" value="true" scope="default" type="STRING"/>
<property name="NO_ENTITY_BODY" scope="axis2" action="remove"/>
<send/>
<log level="full"/>
</then>
<else>
<log level="full"/>
<payloadFactory>
<format>
<p:mparameter xmlns:p="http://ws.wso2.org/dataservice">
<p:clientid>$1</p:clientid>
<p:modifiedon>$2</p:modifiedon>
</p:mparameter>
</format>
<args>
<arg expression="get-property('clientid')"/>
<arg expression="get-property('modifiedon')"/>
</args>
</payloadFactory>
<log level="custom"/>
<send receive="ParameterMobile_Seq2">
<endpoint>
<address uri="http://localhost:9764/services/mparameter_DataService/" format="soap11"/>
</endpoint>
</send>
<log level="full"/>
</else>
</filter>
</sequence>
這只是順序,請檢查並恢復me.And顯示爲500000.so我們可以在EM
我正在嘗試基於clientid和modifiedon兩個參數來過濾我的服務,而且我的curl命令看起來像這樣curl -v -H「Accept:application/json」-H「Content-Type:application/json」 -H「用戶名:avinash | 214057357158656」-H「密碼:sps123」-d'{}'http:// localhost:8282/services/Get_Parameter_Mobile – jacksphere