<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic In your app.js from the in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997482#M28748</link>
    <description>&lt;P&gt;In your app.js from the results of your JSON build a string containing HTML listview and then display it on a named &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt; placed on your page in the desired location.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2015 08:30:47 GMT</pubDate>
    <dc:creator>Nick_F_2</dc:creator>
    <dc:date>2015-10-15T08:30:47Z</dc:date>
    <item>
      <title>How can I call a Web Service?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997470#M28736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I create a web service and I want to call its from my file.js. How can I do it? When I press an enter button the webservice is run again(and take my parameter that for web service like user name and password). Actually I want to send parameter to my web service in the same time. Is it possible? If yes, How can I do it? I search on th enternet but cannot find an answer &amp;nbsp;for my question.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 12:24:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997470#M28736</guid>
      <dc:creator>Melike_K_</dc:creator>
      <dc:date>2015-08-26T12:24:04Z</dc:date>
    </item>
    <item>
      <title>1.) How did you build your</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997471#M28737</link>
      <description>&lt;P&gt;1.) How did you build your application? (App Designer or did you hand code your project)&lt;/P&gt;

&lt;P&gt;2.) What is the web service you are trying connect to? (Facebook, twitter, own server, etc.)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 14:41:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997471#M28737</guid>
      <dc:creator>Brandon_K_Intel</dc:creator>
      <dc:date>2015-08-26T14:41:09Z</dc:date>
    </item>
    <item>
      <title>If you made the service data</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997472#M28738</link>
      <description>&lt;P&gt;If you made the service data binding with the Web Services control, then the name you gave the service is a function ready to call. It is in the intel.xdk.services namespace. &amp;nbsp;&lt;BR /&gt;
	&lt;BR /&gt;
	For example:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;intel.xdk.services.MarkitOnDemandQuote()&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This will call the service, which returns a promise for its data. There is also an event with the same name as the service posted to the document. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;Penultimately, if you have custom arguments, just pass them in an options. &amp;nbsp;For example:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;//get the result via a promise
intel.xdk.services.MarkitOnDemandQuote({symbol:"INTC"})
.then(function(data){ 
    console.log("here is the data from the service", data); 
})


//or get the result via na event

$(document).on("intel.xdk.services.MarkitOnDemandQuote", function(evt, data){ 
  console.log("event received. here is the data", data); 
})
intel.xdk.services.MarkitOnDemandQuote({symbol:"AAPL"); //will trigger the event&lt;/PRE&gt;

&lt;P&gt;Lastly, if you want to _modify_ &amp;nbsp;the data before any consumer sees it, you can pass in an xdkFilter: argument to the options. It is a function that will receive the raw data, and whatever it returns will be the data that is passed out through the promise or the event. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:29:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997472#M28738</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-08-26T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Hello, follow a simple</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997473#M28739</link>
      <description>&lt;P&gt;Hello, follow a simple example how to call a WebService... you can put it on your own javascript file, reference it on your HTML5 code and call this function:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function CallWebService() {&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $.ajax('http://YourWebServiceLink', {&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; contentType: 'text/xml; charset=utf-8',
&amp;nbsp;&amp;nbsp; dataType: 'xml',
&amp;nbsp;&amp;nbsp;&amp;nbsp; crossDomain: true,&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; data: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pUserName : 'YourUserName',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pPassWord : 'YourPassword'
&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp; success: function(data) { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSomeColumn01 = $(this).find("SomeColumn01").text();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSomeColumn02 = $(this).find("SomeColumn02").text();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSomeColumn03 = $(this).find("SomeColumn03").text();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSomeColumn04 = $(this).find("SomeColumn04").text();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error: function (data) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	alert($(data).text);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}
});
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:33:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997473#M28739</guid>
      <dc:creator>Rodrigo_M_1</dc:creator>
      <dc:date>2015-08-26T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Quote:CHRIS P. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997474#M28740</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;CHRIS P. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;If you made the service data binding with the Web Services control, then the name you gave the service is a function ready to call. It is in the intel.xdk.services namespace. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;intel.xdk.services.MarkitOnDemandQuote()&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This will call the service, which returns a promise for its data. There is also an event with the same name as the service posted to the document. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;Penultimately, if you have custom arguments, just pass them in an options. &amp;nbsp;For example:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;//get the result via a promise
intel.xdk.services.MarkitOnDemandQuote({symbol:"INTC"})
.then(function(data){ 
    console.log("here is the data from the service", data); 
})


//or get the result via na event

$(document).on("intel.xdk.services.MarkitOnDemandQuote", function(evt, data){ 
  console.log("event received. here is the data", data); 
})
intel.xdk.services.MarkitOnDemandQuote({symbol:"AAPL"); //will trigger the event&lt;/PRE&gt;

&lt;P&gt;Lastly, if you want to _modify_ &amp;nbsp;the data before any consumer sees it, you can pass in an xdkFilter: argument to the options. It is a function that will receive the raw data, and whatever it returns will be the data that is passed out through the promise or the event. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Firstly thank you for your answer. As I understand, you send to me two piece of code that I can use in my project and I can choose one of them, isn't it? and I have a few questions:&lt;/P&gt;

&lt;P&gt;1) What is the mean of "INTC" at "...&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;intel.xdk.services.MarkitOnDemandQuote({symbol:"INTC"})..." ? What can I put instead of INTC? "symbol" is a variable or not? If yes what can I put instead of it? (and mean of "AAPL"?)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Consolas, 'Lucida Console', Menlo, Monaco, 'DejaVu Sans Mono', monospace, sans-serif; font-size: 13.0080003738403px; line-height: 15.609601020813px;"&gt;2)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV class="line alt1" style="line-height: 14.3087997436523px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0080003738403px; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;
	&lt;TABLE style="border-collapse: collapse !important; border: 0px !important; font-size: 1em !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;.then(&lt;/CODE&gt;&lt;CODE class="keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important; background: none !important;"&gt;function&lt;/CODE&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;(data){&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;DIV class="line alt2" style="line-height: 14.3087997436523px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0080003738403px; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background: none rgb(248, 248, 248) !important;"&gt;
	&lt;TABLE style="border-collapse: collapse !important; border: 0px !important; font-size: 1em !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="number" style="border-width: 0px !important; border-style: initial !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"&gt;&lt;CODE style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px 0.3em 0px 0px !important; border: 0px !important; outline: 0px !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; min-height: auto !important; display: block !important; background: none !important;"&gt;04&lt;/CODE&gt;&lt;/TD&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="spaces" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/CODE&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;console.log(&lt;/CODE&gt;&lt;CODE class="string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; color: blue !important; background: none !important;"&gt;"here is the data from the service"&lt;/CODE&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;, data);&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;DIV class="line alt1" style="line-height: 14.3087997436523px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0080003738403px; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;
	&lt;TABLE style="border-collapse: collapse !important; border: 0px !important; font-size: 1em !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="number" style="border-width: 0px !important; border-style: initial !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"&gt;&lt;CODE style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px 0.3em 0px 0px !important; border: 0px !important; outline: 0px !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; min-height: auto !important; display: block !important; background: none !important;"&gt;05&lt;/CODE&gt;&lt;/TD&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;})&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;P&gt;this function is my web services function, isn't it? and "data" is my returning value? If I want to send two parameter I must do like follow?&lt;/P&gt;

&lt;DIV class="line alt1" style="line-height: 14.3087997436523px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0080003738403px; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;
	&lt;TABLE style="border-collapse: collapse !important; border: 0px !important; font-size: 1em !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;.then(&lt;/CODE&gt;&lt;CODE class="keyword" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-weight: bold !important; min-height: auto !important; color: rgb(0, 102, 153) !important; background: none !important;"&gt;function&lt;/CODE&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;(userName, password,data){&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;DIV class="line alt2" style="line-height: 14.3087997436523px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0080003738403px; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background: none rgb(248, 248, 248) !important;"&gt;
	&lt;TABLE style="border-collapse: collapse !important; border: 0px !important; font-size: 1em !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="number" style="border-width: 0px !important; border-style: initial !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"&gt;&lt;CODE style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px 0.3em 0px 0px !important; border: 0px !important; outline: 0px !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; min-height: auto !important; display: block !important; background: none !important;"&gt;04&lt;/CODE&gt;&lt;/TD&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="spaces" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/CODE&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;console.log(&lt;/CODE&gt;&lt;CODE class="string" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; color: blue !important; background: none !important;"&gt;"here is the data from the service"&lt;/CODE&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;, data);&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;DIV class="line alt1" style="line-height: 14.3087997436523px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0080003738403px; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;
	&lt;TABLE style="border-collapse: collapse !important; border: 0px !important; font-size: 1em !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="number" style="border-width: 0px !important; border-style: initial !important; padding: 0px !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 3em !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(175, 175, 175) !important; background: none !important;"&gt;&lt;CODE style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px 0.3em 0px 0px !important; border: 0px !important; outline: 0px !important; text-align: right !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: 2.7em !important; line-height: 1.1em !important; min-height: auto !important; display: block !important; background: none !important;"&gt;05&lt;/CODE&gt;&lt;/TD&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; float: none !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;})&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 07:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997474#M28740</guid>
      <dc:creator>Melike_K_</dc:creator>
      <dc:date>2015-08-27T07:09:43Z</dc:date>
    </item>
    <item>
      <title>Quote:Rodrigo M. wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997475#M28741</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Rodrigo M. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello, follow a simple example how to call a WebService... you can put it on your own javascript file, reference it on your HTML5 code and call this function:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function CallWebService() {&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $.ajax('http://YourWebServiceLink', {&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; contentType: 'text/xml; charset=utf-8',
&amp;nbsp;&amp;nbsp; dataType: 'xml',
&amp;nbsp;&amp;nbsp;&amp;nbsp; crossDomain: true,&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; data: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pUserName : 'YourUserName',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pPassWord : 'YourPassword'
&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp; success: function(data) { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vRecID = $(this).find("SomeColumn01").text();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vMake = $(this).find("SomeColumn02").text();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vModel = $(this).find("SomeColumn03").text();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vYear = $(this).find("SomeColumn04").text();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; },&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error: function (data) {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert($(data).text);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
});
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;thank you but I don't want to reach my services with url. I want to reach it with web services that I created in intel xdk.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11_0.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7894i5ADDAB32786D286F/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="11_0.png" alt="11_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 07:16:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997475#M28741</guid>
      <dc:creator>Melike_K_</dc:creator>
      <dc:date>2015-08-27T07:16:55Z</dc:date>
    </item>
    <item>
      <title>Quote:Brandon Kiefer (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997476#M28742</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Brandon Kiefer (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;1.) How did you build your application? (App Designer or did you hand code your project)&lt;/P&gt;

&lt;P&gt;2.) What is the web service you are trying connect to? (Facebook, twitter, own server, etc.)&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;1) I built my application with app designer and hand code. I firstly built it with app designer and then I built with hand code somewhere that I cannot do it with app designer.&lt;/P&gt;

&lt;P&gt;2)I try to connect with I created new services. it is business' web site.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 07:21:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997476#M28742</guid>
      <dc:creator>Melike_K_</dc:creator>
      <dc:date>2015-08-27T07:21:21Z</dc:date>
    </item>
    <item>
      <title>The other words my problem is</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997477#M28743</link>
      <description>&lt;PRE class="brush:xml;"&gt;The other words my problem is like that:


&amp;lt;script&amp;gt;
            
            function Control(){
                var MINLENGTH = 3;
                var formUsername = document.forms.login.e_posta.value;
                var formPassword = document.forms.login.password.value;

                    //is that true??????????????????????????????????
                    intel.xdk.services.LNLAyatar3Bolge({symbol:"INTC"})
                    .then(function(data){
                        console.log("here is the data from the service", data);
                        alert(data);
                        alert("cefdvefv");
                    })
                    return;
            }
&amp;lt;/script&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My piece of code is upside. I take the username(formUsername) and user password(formPasword) from user. And then I click the my ENTER button. When I click the ENTER button I call this script code. I want to this code run like that Call the my web services and send the formUsername annd fromPassword to web service(or my web service's data binding).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 10:33:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997477#M28743</guid>
      <dc:creator>Melike_K_</dc:creator>
      <dc:date>2015-08-27T10:33:57Z</dc:date>
    </item>
    <item>
      <title>In my example, {symbol:"INTC"</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997478#M28744</link>
      <description>&lt;P&gt;In my example, {symbol:"INTC"} is data that a specific service was looking for. &amp;nbsp;It was just example data.&lt;/P&gt;

&lt;P&gt;Think of it as {search:"puppies"} &amp;nbsp;for an image searching service&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 14:49:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997478#M28744</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-08-27T14:49:09Z</dc:date>
    </item>
    <item>
      <title>If you look at your web</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997479#M28745</link>
      <description>&lt;P style="font-size: 13.008px; line-height: 21.68px;"&gt;If you look at your web service in App Designer (in the "Service Methods" pane, you'll see there are two description panes for it: "Request" an d "Response". &amp;nbsp;Request the parameters your service expects.&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 21.68px;"&gt;So you can use _those_ instead of "symbol". &amp;nbsp;Let's pretend one parameter is "user" and the other "password". &amp;nbsp;Then your code would look like this:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;function Control(){
                var MINLENGTH = 3;
                var formUsername = document.forms.login.e_posta.value;
                var formPassword = document.forms.login.password.value;
 
                    
                    intel.xdk.services.LNLAyatar3Bolge({name:formUsername, password:formPassword})
                    .then(function(data){
                        console.log("here is the data from the service", data);
                        alert(data);
                        alert("cefdvefv");
                    })
                    return;
            }
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 14:55:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997479#M28745</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-08-27T14:55:16Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997480#M28746</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thank you so much all of you for all your answers and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;CHRIS P. (Intel) wrote:&lt;BR /&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt; , you help me understanding web services logic.&amp;nbsp;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Have a nice day :))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 06:45:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997480#M28746</guid>
      <dc:creator>Melike_K_</dc:creator>
      <dc:date>2015-08-31T06:45:23Z</dc:date>
    </item>
    <item>
      <title>My webservice is simple, IK</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997481#M28747</link>
      <description>&lt;P&gt;My webservice is simple, IK call it as a PHP in a server, the php do the job on a wsdl webservice and returme a JSON object, like in the developer, I can get this JSON return, and assign the columns I want to put in a control like a ListView ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 08:08:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997481#M28747</guid>
      <dc:creator>Ricardo_C_1</dc:creator>
      <dc:date>2015-10-15T08:08:32Z</dc:date>
    </item>
    <item>
      <title>In your app.js from the</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997482#M28748</link>
      <description>&lt;P&gt;In your app.js from the results of your JSON build a string containing HTML listview and then display it on a named &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt; placed on your page in the desired location.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 08:30:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997482#M28748</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-10-15T08:30:47Z</dc:date>
    </item>
    <item>
      <title>I can do it directly ?</title>
      <link>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997483#M28749</link>
      <description>&lt;P&gt;I can do it directly ?&lt;/P&gt;

&lt;P&gt;I can populate the ListView Objectg in the code ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you again&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 15:10:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-can-I-call-a-Web-Service/m-p/997483#M28749</guid>
      <dc:creator>Ricardo_C_1</dc:creator>
      <dc:date>2015-10-15T15:10:04Z</dc:date>
    </item>
  </channel>
</rss>

