<?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: Calling WebServices using Flex Builder in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746202#M323728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try putting the URL in a var as the next example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private var wsdl:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?wsdl=1.1";&lt;/P&gt;&lt;P&gt;private var wsdl2:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?sap-client=600&amp;amp;wsdl=1.1";&lt;/P&gt;&lt;P&gt;		[Bindable] private var datos:ArrayCollection;&lt;/P&gt;&lt;P&gt;		private function retrieve_data():void{&lt;/P&gt;&lt;P&gt;			//ws.loadWSDL(wsdl);&lt;/P&gt;&lt;P&gt;                                                                ws.loadWSDL(wsdl2);&lt;/P&gt;&lt;P&gt;			ws.ZVER_TABLA(txt.text);&lt;/P&gt;&lt;P&gt;		}&lt;/P&gt;&lt;P&gt;		private function handleError(ev:Event):void{&lt;/P&gt;&lt;P&gt;			Alert.show("Se produjo un error");&lt;/P&gt;&lt;P&gt;		}&lt;/P&gt;&lt;P&gt;		private function handleResult(ev:ResultEvent):void{&lt;/P&gt;&lt;P&gt;			datos = ev.result.DATA;&lt;/P&gt;&lt;P&gt;		}&lt;/P&gt;&lt;P&gt;	]]&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:Script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:WebService id="ws" showBusyCursor="true" makeObjectsBindable="true"&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;mx:operation name="ZVER_TABLA" fault="handleError(event)"&lt;/P&gt;&lt;P&gt;	result="handleResult(event)"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:WebService&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:TextInput id="txt" enter="retrieve_data()" x="10" y="10"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:Button label="Ver datos" click="retrieve_data()" x="178" y="10"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:DataGrid id="dtGrid" horizontalScrollPolicy="auto" dataProvider="&lt;SPAN __jive_macro_name="datos"&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;verticalScrollPolicy="auto" right="10" bottom="10" top="40" left="10"&lt;/P&gt;&lt;P&gt;visible="false"/&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2009 19:32:15 GMT</pubDate>
    <dc:creator>nahuelelas_romanello</dc:creator>
    <dc:date>2009-07-31T19:32:15Z</dc:date>
    <item>
      <title>Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746196#M323722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use a WebService in the Flex Builder. I first defined the WebService:&lt;/P&gt;&lt;P&gt;&amp;lt;mx:WebService id="test" wsdl="http://ld9030.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?wsdl" result="log(event)" showBusyCursor="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 importing parameters in the WebService (IText and IText2). &lt;/P&gt;&lt;P&gt;But in the log-method, I cannot access these parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    private function log(event:ResultEvent):void {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     var test1 = event.result.IText;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    }  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know, how I can access the import parameters?&lt;/P&gt;&lt;P&gt;Please find attached the wsdl definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:types&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:element name="TpTest"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:complexType&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:sequence&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;xsd:element name="IFlag" type="xsd:string" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;xsd:element name="IFlag2" type="xsd:string" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:sequence&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:complexType&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:element&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:element name="TpTestResponse"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:complexType&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;xsd:sequence&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;xsd:element name="EText" type="xsd:string" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;xsd:element name="EText2" type="xsd:string" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:sequence&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:complexType&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:element&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/xsd:schema&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:types&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:message name="TpTest"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;wsdl:part name="parameters" element="tns:TpTest" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:message&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:message name="TpTestResponse"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;wsdl:part name="parameters" element="tns:TpTestResponse" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:message&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:portType name="ZTP_TEST4"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:operation name="TpTest"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;wsdl:input message="tns:TpTest" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;wsdl:output message="tns:TpTestResponse" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:operation&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:portType&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:binding name="ZTP_TEST4SoapBinding" type="tns:ZTP_TEST4"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:operation name="TpTest"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soap:operation soapAction="" /&amp;gt; &lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:input&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soap:body use="literal" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:input&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:output&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soap:body use="literal" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:output&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:operation&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:binding&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:service name="ZTP_TEST4Service"&amp;gt;&lt;/P&gt;&lt;P&gt;- &amp;lt;wsdl:port name="ZTP_TEST4SoapBinding" binding="tns:ZTP_TEST4SoapBinding"&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;soap:address location="http://us4419.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?sap-client=000" /&amp;gt; &lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:port&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:service&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/wsdl:definitions&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 08:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746196#M323722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746197#M323723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO you do not have IText1 &amp;amp; IText2 but you have IFlag &amp;amp; IFlag2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 13:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746197#M323723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T13:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746198#M323724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and as a result you don't get IText, IText2 but EText, EText2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 13:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746198#M323724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T13:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746199#M323725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the update. Yes, I mentioned the wrong parameters. But I also cannot access EText and EText2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime I found a workaround, when I use resultForma="e4x". Then&lt;/P&gt;&lt;P&gt;I'm able to access the parameters. But with the standard resultFormat="object", I only can access the first parameter EText. I was wondering how I can access&lt;/P&gt;&lt;P&gt;EText, tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 13:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746199#M323725</guid>
      <dc:creator>thomas_paulus</dc:creator>
      <dc:date>2006-12-22T13:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746200#M323726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the predelivered method to get to the next levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;            [Bindable]
            public var firstLevel:XMLList;
            [Bindable]
            public var SecondLevel:XMLList;
            [Bindable]
  private var dataFeed:XML;
  dataFeed = event.result as XML;
                firstLevel = dataFeed.elements().elements();
                secondLevel = dataFeed.elements().elements().item ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 09:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746200#M323726</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-01-15T09:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746201#M323727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we specify SAP Client name in the &amp;lt;mx:webservice&amp;gt; as the wsdl attribute is not accepting any special characters like = &amp;amp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:WebService id="ws" wsdl="http://localhost.com:8088/sap/bc/srt/rfc/sap/Z_SIMPLE_TEST_WS?sap-client=030&amp;amp;wsdl=1.1" useProxy="false" result="handleResult(event)" fault="handleFault(event)" showBusyCursor="true" &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is giving error and if I remove the additional parameters passed in the wsdl:i.e sap-client=030&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:WebService id="ws" wsdl="http://localhost.com:8088/sap/bc/srt/rfc/sap/Z_SIMPLE_TEST_WS?wsdl"&lt;/P&gt;&lt;P&gt;		useProxy="false"&lt;/P&gt;&lt;P&gt;		result="handleResult(event)"&lt;/P&gt;&lt;P&gt;		fault="handleFault(event)" showBusyCursor="true" &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it is executing but wsdl is calling SAP client 010 by default instead of client 030.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 20:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746201#M323727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T20:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calling WebServices using Flex Builder</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746202#M323728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try putting the URL in a var as the next example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private var wsdl:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?wsdl=1.1";&lt;/P&gt;&lt;P&gt;private var wsdl2:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?sap-client=600&amp;amp;wsdl=1.1";&lt;/P&gt;&lt;P&gt;		[Bindable] private var datos:ArrayCollection;&lt;/P&gt;&lt;P&gt;		private function retrieve_data():void{&lt;/P&gt;&lt;P&gt;			//ws.loadWSDL(wsdl);&lt;/P&gt;&lt;P&gt;                                                                ws.loadWSDL(wsdl2);&lt;/P&gt;&lt;P&gt;			ws.ZVER_TABLA(txt.text);&lt;/P&gt;&lt;P&gt;		}&lt;/P&gt;&lt;P&gt;		private function handleError(ev:Event):void{&lt;/P&gt;&lt;P&gt;			Alert.show("Se produjo un error");&lt;/P&gt;&lt;P&gt;		}&lt;/P&gt;&lt;P&gt;		private function handleResult(ev:ResultEvent):void{&lt;/P&gt;&lt;P&gt;			datos = ev.result.DATA;&lt;/P&gt;&lt;P&gt;		}&lt;/P&gt;&lt;P&gt;	]]&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:Script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:WebService id="ws" showBusyCursor="true" makeObjectsBindable="true"&amp;gt;&lt;/P&gt;&lt;P&gt;	&amp;lt;mx:operation name="ZVER_TABLA" fault="handleError(event)"&lt;/P&gt;&lt;P&gt;	result="handleResult(event)"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/mx:WebService&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:TextInput id="txt" enter="retrieve_data()" x="10" y="10"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:Button label="Ver datos" click="retrieve_data()" x="178" y="10"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;mx:DataGrid id="dtGrid" horizontalScrollPolicy="auto" dataProvider="&lt;SPAN __jive_macro_name="datos"&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;verticalScrollPolicy="auto" right="10" bottom="10" top="40" left="10"&lt;/P&gt;&lt;P&gt;visible="false"/&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 19:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-webservices-using-flex-builder/m-p/1746202#M323728</guid>
      <dc:creator>nahuelelas_romanello</dc:creator>
      <dc:date>2009-07-31T19:32:15Z</dc:date>
    </item>
  </channel>
</rss>

