基本上我试图调用一个方法来验证使用Savon的玩家。我得到以下错误:
过程或函数'CORE_INCOMING_ValidateSource'需要参数'@SourceId',这是未提供的。
是的,它在METHOD参数中。我已经尝试使用它作为哈希而不是符号来操纵小写设置,它给了我同样的错误。
def set_client
@@service ||= Savon.client(wsdl: "http://services.colchian.eu/BOSS_DEMO/BOSSWebServices/IncomingIntegrationService/IncomingIntegrationService.svc?wsdl")
end
def player_login(sourceId, sourcePassword, playerId, password, userId, workstationId, applicationId, logonSource, websiteId, partnerId, thridPartyToken)
@response = @@service.call(:player_login) do
message sourceId: sourceId,
sourcePassword: sourcePassword,
playerId: playerId,
password: password,
userId: userId,
workstationId: workstationId,
applicationId: applicationId,
logonSource: logonSource,
websiteId: websiteId,
partnerId: partnerId,
thridPartyToken: thridPartyToken
end
end
我使用Savon .operations方法列出服务器接受的所有方法。是否有类似的方法列出方法的所有参数名称?