Learning with learners
W3LC brings you Discussions For IT People. Stuffed with personal touch & humor by Anwar Jamal Faiz.
A great place to read and participate in IT discussions. With over 1.5 million hits from bright technical minds across the globe, W3LC urges to read, enjoy, and comment. Learning, ofcourse, would just be a side-effect. Also visit MeOnShow. And, Technology Job Puzzles.
Thursday, May 24, 2018
How to Load Test APIs: Methods and most effective way to test web or downstream services
Wednesday, May 23, 2018
What is SMSC number : Indian Mobile Operators - How does it work and how to change SMSC Number in Android phones
The flow of message in mobile network system happens as follows:
- From mobile to another mobile - referred to as MO-MT (Mobile Originated - Mobile Terminated)
- From mobile to a content provider (also known as Large Account / ESME) - referred to as MO-AT (Mobile Originated - Application Terminated)
- From application to a mobile - referred to as AO-MT (Application Originated - Mobile Terminated)
We should remember that An SMS message is stored temporarily in the SMS center if the recipient mobile phone is unavailable. It is possible on most mobile handsets to specify an expiry period after which the SMS message will be deleted from the SMS center. Once deleted, the SMS message will no longer be available for dispatch to the recipient mobile phone (even if it comes on line). The validity period should be regarded by the handset user as a request, as the SMSC itself can be configured to ignore or otherwise handle message delivery schedules.
Sometimes you face problem in sending SMS or Changing SMS center number. While sending SMS you will get ‘unable to send’ error, this Error is mainly caused by Mobile SMS center number is changed. You can change this number in your mobile Network/SMS settings
Following is the list of SMSC numbers (latest) for leading mobile operators in India:
- Aircel sms center number +919809099060
- Airtel sms service center number +919895051914
- Jio sms center number +917010075009
- BSNL sms center number +919440099997
- Idea sms service center number +919847099996
- Reliance sms service center number +919020000500
- Tata Docomo sms service center number +919032055002
- Uninor/Telenor sms center number +919084051550
- Vodafone SMS center number +919846000040
An SMS centre (SMSC) is responsible for handling the SMS operations of a wireless network.
- When an SMS message is sent from a mobile phone, it will first reach an SMS centre.
- The SMS centre then forwards the SMS message towards the destination.
- The main duty of an SMSC is to route SMS messages and regulate the process. If the recipient is unavailable (for example, when the mobile phone is switched off), the SMSC will store the SMS message.
- It will forward the SMS message when the recipient is available and the message's expiry period is not exceeded.
Thursday, May 10, 2018
Nine Planetary Differences between SOAP and REST APIs
Here is what I technically feel the major difference between SOAP and REST. To begin with, SOAP stands for Simple Object Access Protocol. REST stands for REpresentational State Transfer.
Like 9 planets of our Solar system, I list down following 9 major differences that will completely settle down the discussion. So here is what I call, The Nine Planetary Differences Between SOAP and REST:
1) The first of all is that SOAP is a protocol while REST is an architectural style. So, this is a monumental difference in itself.
2) Next is to remember that SOAP can not use REST as it is a protocol. On the other hand, the REST architecture can use SOAP web services because it is a concept and hence it can use any protocol like HTTP, SOAP. Generally, it's HTTP.
3) Other important difference is that SOAP permits XML data format only while REST permits different data format such as Text, HTML, JSON, XML etc.
4) Its important to note that SOAP uses services interfaces to expose the business logic. REST, on opposite, uses the URI to expose business logic.
5) In Java, JAX-WS is the java API for SOAP web services. JAX-RS is the java API for RESTful web services.
6) Next difference is related to the standards followed by each. SOAP defines standards to be strictly followed but the REST architecture does not define too much standards.
7) SOAP requires more bandwidth and resources. REST requires less bandwidth and resource than SOAP. Hence, RESTful APIs shall be bit faster. But your choice of what should be chosen in your application depends more on your architectural needs.
8) Any discussion shall be incomplete without talking about the security. So, let's remember that SOAP defines its own security. RESTful web services inherits security measures from the underlying transport mechanism.
9) Last, but not the least, SOAP is less preferred than REST. RESTful APIs are becoming more popular. However, there is no near future where one can totally surpass the other. Both are useful depending upon the needs of the software web application or services you are building.
Cheers!
*PS: don't crib that solar system now has only eight planets. For such cribbing souls, consider the ninth difference above as striked off. After all, it's just a consequence of the eight differences above. Ahem!
Success lessons from Marvel's Avengers strategy: A must business lesson.
|
|
How to add custom Ads.txt in Blogger : A must for blogger adsense monetization enthusiasts
But the problem sometimes is that the website you own is on Blogger and you have no ideas as to how and where to add the custom ads.txt file required by the blogger. Sounds known! Yeah, this is a usual problem with many. So lets start step by step:
First of all know that ,if your blog is monetized with third-party providers or you’ve manually integrated AdSense in your blog, you will need to manually set up the content of the ads.txt file.
- Sign in to Blogger.
- In the top left, click the Down arrow Down Arrow .
- Click the blog you want to set up an ads.txt file on.
- On the left, click Settings.
- Under "Settings," click Search preferences.
- Under "Monetization," find "Custom ads.txt" and click Edit.
- Click Yes.
- Copy the settings from your third-party monetization provider and paste them in the text box. This is typically like "google.com, pub-<0000000000>, DIRECT, 00000000"0000000000>
- Click Save settings.
Cheers! It's done.
If you want to check the content of your ads.txt file, go to http://
Also, do note that if your blog is not monetized, or it’s only configured to use AdSense using the Blogger-AdSense integration, then you do not need to manually set up ads.txt. Blogger will do this for you. Read more about ads.txt for AdSense.
Now certainly, wait for 24 hours before the money starts flowing in your blog. Surely, you might want to thank me. For that just like the post and share to others who might help themselves as well.