webservices REST, SOAP, WSDL

web services:

http://en.wikipedia.org/wiki/Web_service

What are swdl, sopa and rest…

http://stackoverflow.com/questions/3764681/what-are-wsdl-soap-and-rest

A WSDL is an XML document that describes a web service. It actually stands for Web Services Description Language.

SOAP is an XML-based protocol that lets you exchange info over a particular protocol (can be HTTP or SMTP, for example) between applications. It stands for Simple Object Access Protocol and uses XML for its messaging format to relay the information.

REST is an architectural style of networked systems and stands for Representational State Transfer. It’s not a standard itself, but does use standards such as HTTP, URL, XML, etc.

“““““““““““

You’re not going to “simply” understand something complex.

WSDL is an XML-based language for describing a web service. It describes the messages, operations, and network transport information used by the service. These web services usually use SOAP, but may use other protocols.

A WSDL is readable by a program, and so may be used to generate all, or part of the client code necessary to call the web service. This is what it means to call SOAP-based web services “self-describing”.

REST is not related to WSDL at all.

““““““““““““`
SOAP stands for Simple (sic) Object Access Protocol. It was intended to be a way to do Remote Procedure Calls to remote objects by sending XML over HTTP.

WSDL is Web Service Description Language. A request ending in ‘.wsdl’ to an endpoint will result in an XML message describing request and response that a use can expect. It descibes the contract between service & client.

REST uses HTTP to send messages to services.

SOAP is a spec, REST is a style.

Javascript Create a Variable Dynamically

var dynamicVarName = 'Test';
window['variable' + dynamicVarName ] = 'your value'
alert(variableTest)

//Here's where I created secondary arrays on the fly 
index=0;
var sortedArray=[];
sortedArray[index] = []; // create a new var in the windows array 
alert(index);
console.log(sortedArray);
console.log(variableTest);

http://jsfiddle.net/zprj4h6d/1/

instead of ‘Test’, we can use ‘index’ in a .each statement, or a for loop.