Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP PI And Python 2.7

Anonymous
Not applicable

Hello,

 

if ny of you is looking to start with Python and SOAP API, I have attache a class easy to use with Archer 6.2

 

#you import class

from ArcherSOAP import Archer

 

#you create an instance:

MyArcher=Archer(Archer_DNS,Instance,UserName,Password)

 

#Login

MyArcher.Login()

 

#Logout

MyArcher.Logout()

 

SimpleSearch, CreateRecord, UpdateRecord are the most usefull function

 

Best regards,

Philippe

3 REPLIES 3

Anonymous
Not applicable

Thanks for sharing, Philippe!

JeffreyCarlson
Archer Employee
Archer Employee

This is great Philippe!  Was able to login and get a session token.  Do you have an example syntax for making a SimpleSearch call?

Anonymous
Not applicable

Hello, that's THE touchy part... I asled it to RSA support, and they helped me a lot.

using ArcherSOAP.py, it should look like:

 

Results = self.SimpleSearch(Title,Vulnerabilities_Title_Id,App_Id,DisplayFields=[7205,7226])

 

Where:

- Title is your research,

- Vulnerabilities_Title_Id the field ID where you search (Vuln title is 7226)

- App_Id is the application ID (vulnerability =17)

- DisplayFields are field you want to display

 

The difficult part are IDs (and SOAP enveloppe)