The scripts in Diafaan SMS Server use the .NET framework version 2.0 and the scripts can only use .NET assembly DLLs that are also targeted to .NET framework 2.0.
The error indicates that the assembly 'C:\Diafaan\dllSMSSB.dll' is not loaded in Diafaan SMS Server and therefore the dllSMSSB namespace cannot be found.
Dear Henk,I have created a DLL with VisualStudio 2015 for framework 4.5 and tried referencing from within the C# conector.
// addReference C:\Diafaan\dllSMSSB.dll
but I get the following message when compiling
"The type or namespace named dllSMSSB could not be found (are you missing a using directive or an asseblu reference")
the DLL is in the directory folder in the addReference line.
I appreciate any help you can give me.
I have no experience with Azure service bus queues but if I take a quick look at the documentation it should be possible to forward received SMS message to Azure with an HTTP request in the Scripting Connector.
The format of the HTTP call to Azure is very specific, there is a lot of extra information needed in the headers of the HTTP calls but this is all possible with the normal WebClient and HttpWebRequest classes in C#. The best approach is to use Visual Studio to write and test the functionality to forward the message and when this works, copy it to the script in the Scripting Connector. It is much easier to debug the code in Visual Studio then in Diafaan SMS Server.
Has anybody tried sending the SMS message to Azure service bus queues or topics using the C# Connector?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 634
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1352