vendredi 27 février 2015

SpringWSTemplate to consume a webservice that requires authentication and documentbase

I am working on consuming a (wsdl)webservice to get the documents, with the help of Spring WSTemplate(I am a newbie). The web service requires an authenticaton to have a session created.The method used for this is boolean newsession(uname,pwd,docbase). So How can proceed to create a session using Spring WSTemplate .I have googled a lot and found nothing useful for this purpose.


Anybody has the link to the tutorial or code snippet with spring-context.xml and spring code would be really helpful.


Aucun commentaire:

Enregistrer un commentaire