Hi,
We are working to retrive data from some queues and stories from Inews and we would like to use the API of Inews with dotnet 6 avec c# 10
However we have two issue that is blocking us :
first : we can sign it in first time with API "Connect" and we used "Disconnect" to log out. but if we re-run, we have a message that we can not logging : 'No sessions are available to connect.'
secondly, we try to retrive datas from stories from this queue : -CONDUCTEUR-TEST.ISTUDIO-TEST.-1945
image : https://ibb.co/XY0jjv7
but we really don't know how to do that with the API getStories or getStory. We try some things but we don't know what kind of parameters we should use :
image of the code : https://ibb.co/Jv708fg
Can you help us? Can you provide us some examples to how we can have the data from the queues ?
Thanks in advance for your help.
Regards;
Jonathan
Hi Jonathan,
Disconnect should release user sessions in iNEWS
to see number of active user sessions, type in inews server console "list s-p"
Then you can compare output with generic sessions configured in /site/config file in inews server
You may enlarge number of generic sessions up to max that is allwed by license - "status l" in inews server console
Additional information can be found in SCG.pdf - https://avid.secure.force.com/pkb/articles/en_US/user_guide/Avid-iNEWS-Documentation
Find attached soap test to get story from iNEWS
Best regards,
Olena
Hi Olena,
Thanks for your answer, we tried many things but failed
We still have some issues to retrieve the datas from Inews with http and FTP Protocol.
First of all, in the file you send to us (exemple.txt), can you tell me what is “<typ:QueueLocator>290130824.24040652.24</typ:QueueLocator>” ?
In addition, we are not able to retrieve the datas, but it might be a bond with the second issue.
Currently, we use the ftp protocol on Inews Production server with an account with full access (read and write), obviously, it is working, we can access to datas we needed.
Our target is to switch to the http protocol to respect the new security policies.
We create a test server, which is a copy of the production and we opened the http and ftp protocol.
We can connect to Inews with both protocol (with the same .net code we use in production) but we cannot retrieve the datas from the requested queues.
This is the path we appear after the connexion :
JOURNALISTES.I.ISTUDIO.RECHERCHE.JOURNALISTES.I.ISTUDIO.RECHERCHE/
However, we cannot change the repository where there are queues we would like to retrieve the datas:
-1245.-CONDUCTEUR
-1945.-1945
AGENCES.*TOUTES
(see attached images to see the queues' tree structure) : https://ibb.co/jgfh1W2 and https://ibb.co/TggKsVg
With the account we use, we can access at those queues on INEWS.
Do we miss something?
Thanks for your help.
© Copyright 2011 Avid Technology, Inc. Terms of Use | Privacy Policy | Site Map | Find a Reseller