Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.

Share tech news, updates, or what's on your mind.

Sign up to Post

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
2
 
LVL 16

Expert Comment

by:Kyle Santos
Comment Utility
Great job!
0
Do you have a plan for Continuity?
LVL 2
Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
1
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online presence on the internet, it is important to make sure it is built in the most intuitive, informative and streamlined manner. To ensure that your website is customer friendly and is browsed by a good number of visitors, it is indeed vital to choose the right web design company.

However, the market currently is flooded with as many as hundreds of companies in this regard which makes the task of filtering the good out of bad downright difficult. Furthermore, attractive and enticing assertions made by these companies leave customers rather perplexed. Therefore, it is important to know what all things to keep under consideration prior to choosing a web design company. The following section is a guideline in this respect.
 

1.     Check the Portfolio

A portfolio can say a lot about a company. A genuine and authentic company will always have an online presence and will also boast valid credentials. You can understand the nonsense behind a website designer not having a website. Steer clear of companies that offer their services without having a website of their own. These kind of companies usually have uncertified and unskilled workforce that will not be of much use for your cause.


2.     Get References

0
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre of any activity. Hence, GitHub is a web based hosting service for Git repository.

GitHub is equipped with various advanced features that make it widely used and trusted by users (particularly programmers). There are a number of reasons to love GitHub, and this article gives you my top 10 reasons to love GitHub. 

1. Availability And Rights Of Modifications
GitHub is an open source platform that is easily available and can be used with any operating system. Thus, it is in the spotlight and a number of users are pleased working with it. Full permission is granted to make any changes to the public repository by the developers. The users can get recommendations on their projects and can modify them for better results.  

2. Version Control System
Since GitHub is a version control system, it allows developers to work efficiently on a long project. Any changes made in a file or particular code can be recalled using a specific version later. This in turn makes it convenient for the developers to work on lengthy projects with ease.

3. Further Development of Programs and Projects
One remarkable feature associated with GitHub is ‘Forking’. GitHub permits creation of…
3
New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those tests. You can manually write these test scripts by reading the documentation or you can easily record them with Selenium IDE and translate it into WebDriverJS code. 

What you'll need:
How to record your script actions: For this example I opened the Experts Exchange Home page in a new browser that had no cookies set and performed the following actions.
  1. Open Firefox and then press CTRL+ALT+S simultaneously to open the Selenium IDE plugin.
  2. In Selenium IDE select Options->Clipboard Format-> Java / Junit 4 / WebDriver
  3. Now perform the actions you wish to add to your monitor script, the IDE will record them for you
    1. Open www.experts-exchange.com
    2. Click See Our Solutions
    3. Click Find a Solution
    4. Select Cloud -> Cloud Computing
    5. Enter a search term of "amazon"
    6. Submit the search
  4. Press stop in the upper right of the Selenium IDE plugin.
  5. Select the tests in the window and press CTRL+C.
  6. Paste this into a text document for now
The result of is:
 

Open in new window

3
The Confluence of Individual Knowledge and the Collective Intelligence
At this writing (summer 2013) the term API has made its way into the popular lexicon of the English language.  A few years ago, the term would only be recognized by oil companies and a few geeky programmers.  But today, the term gives relevance and meaning to the "rise of the machines."  The explosion of online storage and computing power has given us a host of new applications that perform highly valuable, highly specialized functions, and that enable direct machine-to-machine communication.  The output from these applications can be used by other applications to deliver rich internet application experiences that are customized and personalized.  The information from these functions can underpin business decisions in advertising and marketing, in shipping and transportation, in medical diagnosis, and many other data-intensive endeavors.

In the context of our discussion here, when we refer to "API" we mean "web API" -- specifically the collection and dissemination of information via HTTP protocols.  These APIs let servers talk to each other in ways that build powerful online applications with relatively little effort for the developers.

Governments and companies like Google, Yahoo, Weather.com, MapQuest, UnderTone Networks, and many others gather, analyze, store, collate and publish detailed information …
6
 

Expert Comment

by:APD_Toronto
Comment Utility
Good Explanation!
0
 

Expert Comment

by:APD_Toronto
Comment Utility
Good Explanation!
0
Raspberrypi
These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD.

What do you need Part A?
A Raspberry Pi, model B.
A boot SD card for the Raspberry Pi.
A usb HDD
An Ethernet cable to connect to the local network

I used the Debain image http://www.raspberrypi.org/downloads

I am assuming that you have already setup your raspberry pi (http://elinux.org/RPi_Easy_SD_Card_Setup) and are able to connect it it and run commands.

I am also assuming  that your USB hard-drive is /dev/sda1 when connected to your Raspberry pi.  
 
In order to make a partition accessible to the file system, you need to use the Linux "mount" command, referencing the hardware (e.g., /dev/sda1) and a "mount point" in the file system, which is any empty directory, usually created for the purpose by the user. There is a canonical (i.e., standard) directory path where mount points are usually created: the /mnt directory. You can create a new directory under /mnt for each partition to be mounted, and it can be named anything you want as long as it doesn't contain any spaces. You might want to name it to correspond to the drive's physical characteristics, e.g., /mnt/sda1, or /mnt/120GB_USB_hard_disk.

Connect to device, once connected, to find devices attached type

sudo fdisk -l

Open in new window

(This Lists HDD devices connected the …
9
For some reason Google Apps has decided to reserve 'www' for your new domain which results in an error when trying to map the web address 'www' to a certain site in your Google Sites. The error is 'this address is already being used' and after some digging on the Internet I found a a simple way around it.

First of all, let's set up the scenario. You have just added the hypothetical domain 'Appstest.com' to Google Apps and have everything up and running. You have created a web site for Appstest.com and you want it to resolve to www.Appstest.com.

You start by creating a CNAME record in your DNS for 'sites' and point it to ghs.google.com. Then you add another CNAME record for 'www' and point it as well to ghs.google.com.

Normally, you go to your web Site and click More Actions and then choose Manage Sites:

 Manage Site
Then you click General

 General
and choose Map This Site under Web Address Mapping.

 Map Address
Type 'www' in the lower text box and click the 'Add mapping' button.

Add web address mapping
If you get an 'this address is already being used' and this is your first web address mapping or you have made sure that there is no 'www' web address mapping on any other site then you have to tweak Google Apps a little bit.

Go to your Dashboard and click Sites under Service Settings:

  Sites
Under General, click 'Change URL':

 Change URL
Change from the default upper radio button to 'Sites', the lower radio button and click the Continue button.

 Change URL for Sites
0
When coding a Webservice to provide data, the normal way is to create a method that returns a Dataset object.   But a Dataset cannot be used easily from another platform, such as PHP,  FLAS (FLEX) , etc.

Solution :
Return a XML Document instead  of Dataset .

Coding  like :
[WebMethod]
public XmlDocument MydataProvided()
{
   Dataset DS = new DataSet ()
   // here you should write some login to fill  the dataset
   return GetDSXml(DS);
}

public XmlDocument GetDSXml(Dataset  ds)
{
   System.IO.StringWriter sw = new System.IO.StringWriter();
   ds.WriteXml(sw);
   sw.Close();
   XmlDocument xd = new XmlDocument
   xd.LoadXml(sw.ToString());
   return xd;
}

Open in new window


Also, by adding the following method a DataTable can be returned easily.

public XmlDocument GetDtXml(DataTable  dt)
{
   System.IO.StringWriter sw = new System.IO.StringWriter();
   dt.WriteXml(sw);
   sw.Close();
   XmlDocument xd = new XmlDocument
   xd.LoadXml(sw.ToString());
   return xd;
}

Open in new window

0

Web Services

A Web service is a method of communication between two electronic devices over a network. It is a software function provided at a network address over the Web with the service always on as in the concept of utility computing. A web service has an interface described in Web Services Description Language (WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP (Simple Object Access Protocol) messages. There are two major classes of Web services: REST-compliant web services, and Arbitrary web services.