2 weibing huang weibing_huang 于 2013.11.20 17:13 提问

mule请求webservice怎么传递多个参数

我的一段mule配置:<flow name="in_innosoft_orm_validatorService" doc:name="innosoft_orm_validatorService">
<http:inbound-endpoint exchange-pattern="request-response" host="192.168.1.209" port="${port1}" path="innosoft/orm/validatorService" doc:name="HTTP Endpoint"/>
<http:body-to-parameter-map-transformer doc:name="Body to Parameter Map"/>
<flow-ref name="out_innosoft_orm_validatorService_login" doc:name=""/>
</flow>
<sub-flow name="out_innosoft_orm_validatorService_login" doc:name="out_innosoft_orm_validatorService_login">
<set-payload value="#[payload['userAcct'],payload['userPwd']]" doc:name="userAcct"/>
<outbound-endpoint exchange-pattern="request-response" address="wsdl-cxf:http://192.168.1.209:8080/orm/services/innosoft/orm/validatorService?wsdl&amp;method=login" doc:name=""/>
</sub-flow>

我有两个参数,一个userAcct,一个是userPwd。使用set-payload好像只能传递一个。要怎么才能传递两个呢?谢谢。

Csdn user default icon
上传中...
上传图片
插入图片