Skip to Content
avatar image
Former Member

Calling SAP WebServices (WSLD) using Flex Builder

Hi Friends

I am calling R/3 web services in Flex builder using <mx:webservice> tag

coding not working ....

<?xml version="1.0" encoding="utf-8"?>" layout="absolute" creationComplete="ws.Zvendfun.send()">

<mx:WebService id="ws"


showBusyCursor="true" useProxy="false">

<mx:operation name="Zvendfun">






<mx:Panel title="{ws.Zvendfun.Export.Lifnr}" width="100%" height="100%">

<mx:DataGrid x="30" y="75" id="dg" width="400" dataProvider="{}">


<mx:DataGridColumn headerText="Top Posts" dataField="T_COUNTRIES"/>

<mx:DataGridColumn headerText="LAND1" dataField="LAND1"/>

<mx:DataGridColumn headerText="NATIO50" dataField="NATIO50"/>

<mx:DataGridColumn headerText="LANDX" dataField="LANDX"/>

<mx:DataGridColumn headerText="NATIO" dataField="NATIO"/>

<mx:DataGridColumn headerText="Clicks" dataField="MANDT" width="75"/>





Plz find Error ,<b>give the Sample code for webservice calling with parameters and filling DataGride in Flex </b>

Thanking u


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 16, 2007 at 01:35 PM


    You may be having issues with the special characters in your wsdl URL. Try defining it as an actionscript variable and then encoding it with the encodeURI function.

    Examples of this can be found on my tutorial on the wiki that shows step by step how to consume an ABAP web service from Flex:">Consuming ABAP Web Services using Flex</a>

    Also two pieces of friendly advice for forum posting etiquette:

    1) Please post more details other than "its not working"

    2) Making demands in bold letters is probably not the best way to get help



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 26, 2007 at 04:26 AM

    Thank u Ed Herrmann

    Add comment
    10|10000 characters needed characters exceeded