tclsoap and ssl - soap

Can anyone provide a working example of using tclSOAP with SSL? The links referred to in the official docs aren't working http://tclsoap.sourceforge.net I'm unsure how to configure the transport protocol.

If you haven't already I'd post your question here. The maintainers of TCLSoap are more likely to see it and respond to it.

Related

Dyndns2 protocol specification?

I’m seeing a “DynDNS2” protocol referenced a lot but
I have a hard time locating its specification. AFAICS,
RFC 2136 is not versioned on the protocol level so I’m
inclined to rule that one out. Somehow I can find
numerous implementations of DynDNS2 but the repos I’ve
browsed don’t link to a canonical document either.
Example: https://support.google.com/domains/answer/6147083
– that’s Google claiming they support this protocol without
further explanation.
Where can I find the official specification of DynDNS2?
Who is in charge of its standardization and development?
The link (now) shows how to do so "manually":
https://username:password#domains.google.com/nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4
And gives more specs.
You should check the link to the support page again and click the Using the API to update your Dynamic DNS record
Example HTTP query:
POST /nic/update?hostname=subdomain.yourdomain.com&myip=1.2.3.4 HTTP/1.1
Host: domains.google.com
Authorization: Basic base64-encoded-auth-string User-Agent: Chrome/41.0 your_email#yourdomain.com
Also you need to add the User Agent header to make sure your call is not ignored or worse, your client is blocked.
At source forge you can find a list of these dynamic DNS "protocols".
Dyn.com has quite good documentation on their site including flow diagram, update api and return codes
The RFC 2136 spec is an extension of the DNS itself and used by nsupdate command. It's complicated and is used by sysadmins.
Routers are using just a plain HTTP GET requests to some DDNS provider. Their urls are looking the same as original Dyn.com have: /nic/update?hostname=[DOMAIN]&myip=[IP].
See:
https://openwrt.org/docs/guide-user/services/ddns/client
https://sourceforge.net/p/ddclient/wiki/protocols/

Does Alamofire work over HTTPS network?

As the title says. Alamofire is an HTTP networking library written in Swift. But I want to know if it works over https network?
And is there any other library in swift for accessing an api and parse a json file?
As described in the official Alamofire document you can work also with HTTPS protocols but remember to enable NSAppTransportSecurity as described here (Stack Overflow answer)
P.S.: now there is the 3.4.0 version available, there is only one issue about SSL connections, you can find here
DETAILS:
As CouchDeveloper commented in this post , you must remember that with this configuration you actually bypass "App Transport Security", so you can control your white/black domains list in this dictionary by the NSExceptionDomains as documented in the Apple pages or in this useful page that discuss about "Working with Apple’s App Transport Security". This documentation explain how to restrict the app network access to handle the app security settings.

Rest with oauth2

I'm using this library with my codeigniter rest service. Basically, I have a REST_controller, that is inherited, and checks for a valid token, using that library.
All I want is to provide an API to secure some of the API methods.
Now, I'm lost reading most of the specs for oauth2 and tutorials regarding that library.
Can anyone help me, proving good tutorials, examples and explanations on I can achieve, a simple login system and then, call user authenticated methods.
Thanks in advance
Just constructed a pictorial tutorial for OAuth2.0 specs. In case you may find this useful:
Tutorial : http://restful-fundamentals.blogspot.in/2013/04/oauth-20-introducation.html
Also adding a web app demo demostrating the different Authorisation Grants flows. It contains the path to the google code as well as some other tips.
http://restful-fundamentals.blogspot.in/2013/04/svn-repository-oauth20-spectifications.html
***Your comments at that blog may be useful to me to improve the contents there*
I did a demo using spring MVC and spring security you can find source code here

Does gloox support BOSH and XMPP over BOSH?

Does gloox library support BOSH(XEP 124) and XMPP over BOSH(XEP 206). Since gloox community is not active I thought this is right place to post this question.
Really appreciate any response on this.
It does according to the documentation:
http://camaya.net/api/gloox-1.0-beta7/classgloox_1_1ConnectionBOSH.html

The best way to implement REST in CakePHP 1.3?

Does anyone know of any tutorials that explain clearly how to implement simple REST functionality with authorization.
I've seen a few plugins and got also got some basic REST functionality working but there seems no clear guidelines about how to build a secure REST service in Cake.
Any help appreciated.
Sounds like you need to look into OAuth which uses REST to connect to Web Sevices without sending usernames and passwords.
Try these tutorials for a start
http://code.42dh.com/oauth/
http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/