john-kiran / tolerado-sfdc-wsc-apis

Automatically exported from code.google.com/p/tolerado-sfdc-wsc-apis
0 stars 0 forks source link

Enhance Tolerado stub caching to avoid sharing sessions between partner and enterprise stubs #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Presently Tolerado stubs, share SFDC session(sessionId/serverUrl) initiated by 
partnerstub login to enterprisestubs and vice versa.

This fails(classcastexception) to work with getLoginResult() call in 
ToleradoPartnerStub and ToleradoEnterpriseStub, because LoginResult is having 
different namespace in both partner and enterprise wsdls and can't be re-used.

Also, this seems so rare as requirement, where one will use sessions created by 
partner stub in enterprise and vice versa.    

Original issue reported on code.google.com by abhinavgupta697 on 28 Oct 2010 at 11:35