<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Import Web Service wizard to connect Flex to .NET</title>
	<atom:link href="http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/</link>
	<description>about technology</description>
	<lastBuildDate>Sun, 05 Sep 2010 18:36:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: H</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-16384</link>
		<dc:creator>H</dc:creator>
		<pubDate>Tue, 01 Jun 2010 14:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-16384</guid>
		<description>&lt;a href=&quot;#comment-16338&quot; rel=&quot;nofollow&quot;&gt;@samruddhi. &lt;/a&gt; 
Hi Samruddhi,

I am also facing the same issue. Were you able to resolve the problem you were facing.

Thanks,

-H</description>
		<content:encoded><![CDATA[<p><a href="#comment-16338" rel="nofollow">@samruddhi. </a><br />
Hi Samruddhi,</p>
<p>I am also facing the same issue. Were you able to resolve the problem you were facing.</p>
<p>Thanks,</p>
<p>-H</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samruddhi.</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-16338</link>
		<dc:creator>samruddhi.</dc:creator>
		<pubDate>Fri, 26 Mar 2010 10:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-16338</guid>
		<description>hi

this is my first flex application and i m trying to make a login form using wsdl. My wsdl return string called “Success” if the user name and password is correct.
I call the web service at the click of submit button
when i try to get the return value into a variable for eg:

var info:String = service.lastResult

i always get a null value at first. When i click for the second time, it returns the string.
I m not able to understand. Please help.

Thanks in advance,
Samruddhi</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>this is my first flex application and i m trying to make a login form using wsdl. My wsdl return string called “Success” if the user name and password is correct.<br />
I call the web service at the click of submit button<br />
when i try to get the return value into a variable for eg:</p>
<p>var info:String = service.lastResult</p>
<p>i always get a null value at first. When i click for the second time, it returns the string.<br />
I m not able to understand. Please help.</p>
<p>Thanks in advance,<br />
Samruddhi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rovline</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-16334</link>
		<dc:creator>Rovline</dc:creator>
		<pubDate>Mon, 22 Mar 2010 14:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-16334</guid>
		<description>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\DefaultWsdlHelpGenerator.aspx

Uri TryPostUrl {
        get {
            if (postUrl == null) {
                if (HttpPostOperationBinding == null) return null;
                Port port = FindPort(HttpPostOperationBinding.Binding);
                if (port == null) return null;
                HttpAddressBinding httpAddress = (HttpAddressBinding)port.Extensions.Find(typeof(HttpAddressBinding));
                HttpOperationBinding httpOperation = (HttpOperationBinding)HttpPostOperationBinding.Extensions.Find(typeof(HttpOperationBinding));
                if (httpAddress == null &#124;&#124; httpOperation == null) return null;
                postUrl = new Uri(httpAddress.Location + httpOperation.Location);
                postUrl = new Uri(myAdress + httpOperation.Location);
            }
            return postUrl;
        }
    }

changing 

&gt; postUrl = new Uri(myAdress + httpOperation.Location);

to

string myAdress = httpAddress.Location;
myAdress = myAdress.Replace(&quot;localhost&quot;, &quot;anydomain&quot;);
postUrl = new Uri(myAdress + httpOperation.Location);</description>
		<content:encoded><![CDATA[<p>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\DefaultWsdlHelpGenerator.aspx</p>
<p>Uri TryPostUrl {<br />
        get {<br />
            if (postUrl == null) {<br />
                if (HttpPostOperationBinding == null) return null;<br />
                Port port = FindPort(HttpPostOperationBinding.Binding);<br />
                if (port == null) return null;<br />
                HttpAddressBinding httpAddress = (HttpAddressBinding)port.Extensions.Find(typeof(HttpAddressBinding));<br />
                HttpOperationBinding httpOperation = (HttpOperationBinding)HttpPostOperationBinding.Extensions.Find(typeof(HttpOperationBinding));<br />
                if (httpAddress == null || httpOperation == null) return null;<br />
                postUrl = new Uri(httpAddress.Location + httpOperation.Location);<br />
                postUrl = new Uri(myAdress + httpOperation.Location);<br />
            }<br />
            return postUrl;<br />
        }<br />
    }</p>
<p>changing </p>
<p>&gt; postUrl = new Uri(myAdress + httpOperation.Location);</p>
<p>to</p>
<p>string myAdress = httpAddress.Location;<br />
myAdress = myAdress.Replace(&#8220;localhost&#8221;, &#8220;anydomain&#8221;);<br />
postUrl = new Uri(myAdress + httpOperation.Location);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rose</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-16264</link>
		<dc:creator>Rose</dc:creator>
		<pubDate>Tue, 26 Jan 2010 00:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-16264</guid>
		<description>Hello,

I am having a strange issue - when I try to import a web service locally, it finds the service, but does not show me any methods. When I import a service running on the dev server, I see the methods, but get an error: Provider com.bea.xml.stream.MXParserFactory not found.

Any suggestions? Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am having a strange issue &#8211; when I try to import a web service locally, it finds the service, but does not show me any methods. When I import a service running on the dev server, I see the methods, but get an error: Provider com.bea.xml.stream.MXParserFactory not found.</p>
<p>Any suggestions? Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lalit</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-9634</link>
		<dc:creator>Lalit</dc:creator>
		<pubDate>Mon, 16 Nov 2009 14:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-9634</guid>
		<description>This works fine on my development machine, but fails on production server.
Where i can change the web service url in flex bin.

i have placed the whole flex bin folder, in .net web application and placed the object tag on aspx page, swf is being loaed properly but generate fault everytime calling the web service.

could you give me some link where i can learn the deployment of this type of application?</description>
		<content:encoded><![CDATA[<p>This works fine on my development machine, but fails on production server.<br />
Where i can change the web service url in flex bin.</p>
<p>i have placed the whole flex bin folder, in .net web application and placed the object tag on aspx page, swf is being loaed properly but generate fault everytime calling the web service.</p>
<p>could you give me some link where i can learn the deployment of this type of application?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amol</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-3799</link>
		<dc:creator>Amol</dc:creator>
		<pubDate>Wed, 09 Sep 2009 21:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-3799</guid>
		<description>OK, I found the issue. The stubs created from the WSDL had the default URL set to &quot;http:///....&quot; instead of &quot;http://localhost/.....&quot;

Changing it to localhost solved my problem and I can get back the data from the web services.</description>
		<content:encoded><![CDATA[<p>OK, I found the issue. The stubs created from the WSDL had the default URL set to &#8220;http:///&#8230;.&#8221; instead of &#8220;http://localhost/&#8230;..&#8221;</p>
<p>Changing it to localhost solved my problem and I can get back the data from the web services.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amol</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-3798</link>
		<dc:creator>Amol</dc:creator>
		<pubDate>Wed, 09 Sep 2009 21:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-3798</guid>
		<description>I tried this and no alert box poped up so I added a &quot;FaultEventListener&quot; to see what the error was. This is what I saw:

[RPC Fault faultString=&quot;Security error accessing url&quot; faultCode=&quot;Channel.Security.Error&quot; faultDetail=&quot;Destination: DefaultHTTP&quot;]

I have the .Net web service and my Flex application on my local machine. The web service uses Anonymous access for authentication.

Any ideas?</description>
		<content:encoded><![CDATA[<p>I tried this and no alert box poped up so I added a &#8220;FaultEventListener&#8221; to see what the error was. This is what I saw:</p>
<p>[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]</p>
<p>I have the .Net web service and my Flex application on my local machine. The web service uses Anonymous access for authentication.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: info</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-3757</link>
		<dc:creator>info</dc:creator>
		<pubDate>Wed, 19 Aug 2009 16:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-3757</guid>
		<description>excellent example!!</description>
		<content:encoded><![CDATA[<p>excellent example!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesus</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-3572</link>
		<dc:creator>Jesus</dc:creator>
		<pubDate>Mon, 01 Jun 2009 21:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-3572</guid>
		<description>Sweet man, i couldnt figure out why my project didnt work thanks to this simple example i understood why =P 

Thanks!</description>
		<content:encoded><![CDATA[<p>Sweet man, i couldnt figure out why my project didnt work thanks to this simple example i understood why =P </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://miti.pricope.com/2008/07/28/using-import-web-service-wizard-to-connect-flex-to-net/comment-page-1/#comment-2323</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 20 Mar 2009 18:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://miti.pricope.com/?p=8#comment-2323</guid>
		<description>Any chance of you creating an example of binding a flex datagrid the same way? Better yet, an editable datagrid?

Thanks for this example! You rock!</description>
		<content:encoded><![CDATA[<p>Any chance of you creating an example of binding a flex datagrid the same way? Better yet, an editable datagrid?</p>
<p>Thanks for this example! You rock!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
