问题
I have 2 Web Services from same web site, I have to access both with 1 Session
Example:
Create Soap Client ${CURDIR}\\SecurityServiceService.wsdl
Set Proxies http ${PROXY}
${result}= Call Soap Method authenticateUserInternalSecurity ${USERNAME} ${PASSWORD} 1 #SecurityServiceService
Create Soap Client ${CURDIR}\\DelinquentServiceService.wsdl
Set Proxies http ${PROXY}
${result}= Call Soap Method getMultipleLovBei010 #DelinquentServiceService
log ${result}
delete all sessions
With the Security service access to Delinquent Services.
My error:
WebFault: Server raised fault: 'Operation: getMultipleLovBei010 called without a valid session.'
Thanks,
Regards
回答1:
In the SudsLibrary documentation there is an example for the keyword Switch Soap client. This supports your approach, so I'm guessing that the problem might be different.
来源:https://stackoverflow.com/questions/46043647/how-access-to-2-web-services-with-1-session-robot-framework