Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling SAP WebServices (WSLD) using Flex Builder

Hi Friends

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

coding ....is not working ....

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="ws.Zvendfun.send()">

<mx:WebService id="ws"

wsdl="http://XYZ2160.wdf.sap.corp:51180/sap/bc/srt/rfc/sap/ZWS_ZVENDFUN?sap-client=200&wsdl=1.1"

showBusyCursor="true" useProxy="false">

<mx:operation name="Zvendfun">

<mx:request>

<Lifnr>BP06</Lifnr>

</mx:request>

</mx:operation>

</mx:WebService>

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

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

<mx:columns>

<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"/>

</mx:columns>

</mx:DataGrid>

</mx:Panel>

</mx:Application>

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

Thanking u

Ram

Former Member
Not what you were looking for? View more on this topic or Ask a question