<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Calling a simple web service from Flex using the WebService class</title>
	<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Sat, 11 Oct 2008 20:48:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: gilmar</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15879</link>
		<author>gilmar</author>
		<pubDate>Sat, 27 Sep 2008 03:07:25 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15879</guid>
		<description>Need to proxy webservice ate proxy-config.xml</description>
		<content:encoded><![CDATA[<p>Need to proxy webservice ate proxy-config.xml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhilesh Srivastava</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15819</link>
		<author>Akhilesh Srivastava</author>
		<pubDate>Wed, 24 Sep 2008 10:28:48 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15819</guid>
		<description>Peter,

Thanks for your comment. Can you give me the code for this.

Akhil</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Thanks for your comment. Can you give me the code for this.</p>
<p>Akhil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15805</link>
		<author>peterd</author>
		<pubDate>Tue, 23 Sep 2008 14:13:07 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15805</guid>
		<description>Akhilesh Srivastava,

I believe you'd have to loop over the result set and create the variables manually if you wanted them broken down by column (name/age/salary) instead of by rows.

Peter</description>
		<content:encoded><![CDATA[<p>Akhilesh Srivastava,</p>
<p>I believe you&#8217;d have to loop over the result set and create the variables manually if you wanted them broken down by column (name/age/salary) instead of by rows.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akhilesh Srivastava</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15804</link>
		<author>Akhilesh Srivastava</author>
		<pubDate>Tue, 23 Sep 2008 09:27:46 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-15804</guid>
		<description>Hi,

I am getting a query returned by the webservice. I am able to bind the returned query to gridview control. But how can I access the records returned one by one.

Eg. the query returned is name, age, salary. I want to get name in one variable, age in another and salary in third variable.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting a query returned by the webservice. I am able to bind the returned query to gridview control. But how can I access the records returned one by one.</p>
<p>Eg. the query returned is name, age, salary. I want to get name in one variable, age in another and salary in third variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PT</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-14265</link>
		<author>PT</author>
		<pubDate>Mon, 21 Jul 2008 13:56:18 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-14265</guid>
		<description>Hi again,

I forgot to say that error happens with WCF webservice. I tested with ASMX using the internet samples and all ran well!
As i cant find WCF samples for Flex could you tell me if Flex doesnt support WCF or something like that? Thanks!</description>
		<content:encoded><![CDATA[<p>Hi again,</p>
<p>I forgot to say that error happens with WCF webservice. I tested with ASMX using the internet samples and all ran well!<br />
As i cant find WCF samples for Flex could you tell me if Flex doesnt support WCF or something like that? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PT</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-14261</link>
		<author>PT</author>
		<pubDate>Mon, 21 Jul 2008 11:06:20 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-14261</guid>
		<description>Hello,

Im using flex and calling a .net webservice to fill a data grid clickin on a button but i get an error, hope you can help me! Here is my flex code, webservice is working in asp normally and returns an array of objects!




 






 
 




&lt;blockquote&gt;
[RPC Fault faultString="Unrecognized binding style 'null'. Only 'document' and 'rpc' styles are supported." faultCode="EncodingError" faultDetail="null"]
   at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\soap\Operation.as:774]
   at mx.rpc.soap::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\soap\Operation.as:688]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at mx.rpc.soap.mxml::Operation/send()
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Im using flex and calling a .net webservice to fill a data grid clickin on a button but i get an error, hope you can help me! Here is my flex code, webservice is working in asp normally and returns an array of objects!</p>
<blockquote><p>
[RPC Fault faultString=&#8221;Unrecognized binding style &#8216;null&#8217;. Only &#8216;document&#8217; and &#8216;rpc&#8217; styles are supported.&#8221; faultCode=&#8221;EncodingError&#8221; faultDetail=&#8221;null&#8221;]<br />
   at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\soap\Operation.as:774]<br />
   at mx.rpc.soap::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\soap\Operation.as:688]<br />
   at Function/http://adobe.com/AS3/2006/builtin::apply()<br />
   at mx.rpc.soap.mxml::Operation/send()
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shameer</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-13703</link>
		<author>Shameer</author>
		<pubDate>Fri, 27 Jun 2008 07:08:46 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-13703</guid>
		<description>Thanks for the code.

I tried to create a  flex application, which is calling a webservice. It runs fine locally. When put on the server, I am getting an error.

The fault string  looks like

message faultCode:Channel.Security.Error 
faultString:'Security error accessing url' 
faultDetail:'Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://myshec103077d:8080/Check/addint?wsdl)'

I tried putting crossdomain.xml in the root of the application server and I am able to access the cross domain file by typing
http://myshec103077d:8080/crossdomain.xml

The cross domain file which I had put is of the form

 

   
   
   

Still I am getting the same error, when I run the flex app on the server.

Can you please help me on this

Thanks,
Shameer.</description>
		<content:encoded><![CDATA[<p>Thanks for the code.</p>
<p>I tried to create a  flex application, which is calling a webservice. It runs fine locally. When put on the server, I am getting an error.</p>
<p>The fault string  looks like</p>
<p>message faultCode:Channel.Security.Error<br />
faultString:&#8217;Security error accessing url&#8217;<br />
faultDetail:&#8217;Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://myshec103077d:8080/Check/addint?wsdl)&#8217;</p>
<p>I tried putting crossdomain.xml in the root of the application server and I am able to access the cross domain file by typing<br />
<a href="http://myshec103077d:8080/crossdomain.xml" rel="nofollow">http://myshec103077d:8080/crossdomain.xml</a></p>
<p>The cross domain file which I had put is of the form</p>
<p>Still I am getting the same error, when I run the flex app on the server.</p>
<p>Can you please help me on this</p>
<p>Thanks,<br />
Shameer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: insane</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-12497</link>
		<author>insane</author>
		<pubDate>Mon, 05 May 2008 06:08:01 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-12497</guid>
		<description>question :

    


flex dont let me define a operation name with a dot inside, what i should i do ?
help.
thnks</description>
		<content:encoded><![CDATA[<p>question :</p>
<p>flex dont let me define a operation name with a dot inside, what i should i do ?<br />
help.<br />
thnks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RBKB</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-12233</link>
		<author>RBKB</author>
		<pubDate>Wed, 23 Apr 2008 10:29:45 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-12233</guid>
		<description>In the above comment i tried to say. 

The WSDL file I am using does not have style="document" in soap:binding element. But is in operation tag. Could this be the reason why I am getting the above mentioned error?.</description>
		<content:encoded><![CDATA[<p>In the above comment i tried to say. </p>
<p>The WSDL file I am using does not have style=&#8221;document&#8221; in soap:binding element. But is in operation tag. Could this be the reason why I am getting the above mentioned error?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RBKB</title>
		<link>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-12232</link>
		<author>RBKB</author>
		<pubDate>Wed, 23 Apr 2008 10:27:02 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/04/14/calling-a-simple-web-service-from-flex-using-the-webservice-class/#comment-12232</guid>
		<description>I am calling a webservice using the same code as yours but it gives me following error:

RPC Fault faultString= "Unrecognized binding style 'null'. Only
'document' and 'rpc' styles are supported." faultCode="Encoding Error"
faultDetail= "null"

I am not able to find out What is the reason for this error? Can you please help?

Could this be because the WSDL file I am using does not have style="document" in . But is in the  tag?

Any options to this or any other thing that I can do ?

Thanks in advance</description>
		<content:encoded><![CDATA[<p>I am calling a webservice using the same code as yours but it gives me following error:</p>
<p>RPC Fault faultString= &#8220;Unrecognized binding style &#8216;null&#8217;. Only<br />
&#8216;document&#8217; and &#8216;rpc&#8217; styles are supported.&#8221; faultCode=&#8221;Encoding Error&#8221;<br />
faultDetail= &#8220;null&#8221;</p>
<p>I am not able to find out What is the reason for this error? Can you please help?</p>
<p>Could this be because the WSDL file I am using does not have style=&#8221;document&#8221; in . But is in the  tag?</p>
<p>Any options to this or any other thing that I can do ?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>
