Call Webservice from Softone

590 views
Skip to first unread message

Antony Georgopoulos

unread,
Dec 24, 2021, 4:30:51 AM12/24/21
to Softone Developers Network
Good Morning and Merry Christmas to everyone.


Does anyone know how to call an external webservice from Softone.

The only reliable way that I have found is from dll with C# from the client. 
There is also BAM, but it is not practical for complex scenarios.

I can't use the Χ.WEBREQUEST or the X.WSCALL because they call only the internal  softone webservices.

Black book uses the  ActiveXObject("MSXML2.XMLHTTP") but it is deprecated and I don't want to use it.

I have tried the XMLHttpRequest() but it does not work.

My main issue is that the installation of the client is on Azure and I need to run the webservice every 5 minutes. 

Can I do that from inside Softone?
Can i use the softone Scheduler?


Thanks in advance.

Liviu Buligan

unread,
Dec 24, 2021, 8:10:31 AM12/24/21
to so...@googlegroups.com
Hy Antony,
I am using the  ActiveXObject method with no problem, for calling courier services APIs. To read or write to S1 every 5 minutes i suggest however a php script and cron job. For example, i am reading stock from S1 WS and update the website via API and then read orders from website an save them to S1.  I have done this with various 3rd party platforms and it works like a charm. If you need specific help just let me know... 

--
Softone Developers Network group.
To post to this group, send email to so...@googlegroups.com
---
Λάβατε αυτό το μήνυμα επειδή έχετε εγγραφεί στην ομάδα "Softone Developers Network" των Ομάδων Google.
Για να απεγγραφείτε απ' αυτή την ομάδα και να σταματήσετε να λαμβάνετε μηνύματα ηλεκτρονικού ταχυδρομείου απ' αυτή, στείλτε ένα μήνυμα ηλεκτρονικού ταχυδρομείου στη διεύθυνση soft1+un...@googlegroups.com.
Για να κάνετε προβολή αυτής της συζήτησης στον ιστό, επισκεφτείτε τη διεύθυνση https://groups.google.com/d/msgid/soft1/539de5f0-cb99-479c-bd5f-b9384fd1a5b4n%40googlegroups.com.


--
Liviu Buligan
Reply all
Reply to author
Forward
0 new messages