<?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 Re: Developing Flex Applications that Invoke SAP Services in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905390#M936677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Flex builder 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand Flex builder 3 has a build it WSDL generation tool. But this SAP plugin has the functionality to create the screens for the webservice input. So i am pretty much eager to use this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2008 15:59:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-04T15:59:15Z</dc:date>
    <item>
      <title>Developing Flex Applications that Invoke SAP Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905388#M936675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am following this document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Develop Flex Applications that Invoke Web Services&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed the SAP Plugin and i have tried to generate a FLEX UI based on WS definition using the SAP plugin. The application tends to run "Stack overflow" error when i try to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
java.lang.StackOverflowError
	at java.lang.AbstractStringBuilder.append(Unknown Source)
	at java.lang.StringBuffer.append(Unknown Source)
	at java.lang.StringBuffer.&amp;lt;init&amp;gt;(Unknown Source)
	at com.sap.flex.ws.proxygen.TidyNameGenerator.tidyFieldName(TidyNameGenerator.java:143)
	at com.sap.flex.ws.proxygen.TidyNameGenerator.makeFieldName(TidyNameGenerator.java:80)
.......
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any settings in Flex i need to configure as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 14:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905388#M936675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Developing Flex Applications that Invoke SAP Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905389#M936676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That document was written using Flex Builder 2.0 are you using Flex Builder 3?  I don't have it installed so, I can't say if it works for me or not but, that might be an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have Flex Builder 3 installed there is a tool built in now to generate code from a WSDL, although some people have had some issues with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-d&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 14:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905389#M936676</guid>
      <dc:creator>former_member10945</dc:creator>
      <dc:date>2008-06-04T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Developing Flex Applications that Invoke SAP Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905390#M936677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Flex builder 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand Flex builder 3 has a build it WSDL generation tool. But this SAP plugin has the functionality to create the screens for the webservice input. So i am pretty much eager to use this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 15:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905390#M936677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T15:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Developing Flex Applications that Invoke SAP Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905391#M936678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Even if you are using Flex 3, you can still you the standard approach of using the Webservice class of the flex framework. You can find the syntax is flex dev guide which is available in on adobe's website. Here is the code snippet of how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:WebService&lt;/P&gt;&lt;P&gt;id="userRequest"&lt;/P&gt;&lt;P&gt;wsdl="http://yourwsdl"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:operation name="returnRecords" resultFormat="object"&lt;/P&gt;&lt;P&gt;fault="mx.controls.Alert.show(event.fault.faultString)"&lt;/P&gt;&lt;P&gt;result="remotingCFCHandler(event)"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:request&amp;gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;your request parameters----&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:operation&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:WebService&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 13:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905391#M936678</guid>
      <dc:creator>former_member108314</dc:creator>
      <dc:date>2008-06-10T13:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Developing Flex Applications that Invoke SAP Services</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905392#M936679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I kind of ran into trouble doing this approach, when I need to do a WebService call I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;mx:Script&amp;gt;
	&amp;lt;![CDATA[
		[Bindable] private var abapWSDL:String = "http://&amp;lt;&amp;lt;WebServiceLocation&amp;gt;&amp;gt;?sap-client=&amp;lt;&amp;lt;mandt&amp;gt;&amp;gt;&amp;amp;wsdl=1.1";
		[Bindable] private var wsEndpoint:String = "http://&amp;lt;&amp;lt;WebServiceLocation&amp;gt;&amp;gt;?sap-client=&amp;lt;&amp;lt;mandt&amp;gt;&amp;gt;";

	private function execute():void {
		abapWS.&amp;lt;&amp;lt;OPERATIONNAME&amp;gt;&amp;gt;.send(arg1, arg2, arg3);	
	}

	private function parseData(event:ResultEvent):void {
		var Response:Object = event.result.&amp;lt;&amp;lt;RESPONSEOBJECT&amp;gt;&amp;gt;;
	}
		


&lt;WEBSERVICE id="abapWS" wsdl="{encodeURI(abapWSDL)}" endpointuri="{encodeURI(wsEndpoint)}" makeobjectsbindable="true" result="parseData(event)"&gt;
	&lt;OPERATION name="&amp;lt;&amp;lt;OPERATIONNAME&amp;gt;&amp;gt;" resultformat="e4x"&gt;&lt;/OPERATION&gt;
&lt;/WEBSERVICE&gt;
&lt;BUTTON label="Select" click="execute()"&gt;&lt;/BUTTON&gt;
]]&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 08:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/developing-flex-applications-that-invoke-sap-services/m-p/3905392#M936679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-12T08:23:56Z</dc:date>
    </item>
  </channel>
</rss>

