0 Replies Latest reply on Apr 3, 2007 2:38 AM by ArunCbe

    Integrating Web Services

    ArunCbe
      I am building a flex application which interacts with MSN Search Web Service. http://soap.search.msn.com/webservices.asmx?wsdl. My mxml code is below.

      <mx:WebService id="msSrv" wsdl=" http://soap.search.msn.com/webservices.asmx?wsdl" useProxy="false" >
      <mx:operation name="Search" resultFormat="xml">
      <mx:request>
      <Request>
      <AppID>2222222</AppID>
      <Query>britney</Query>
      <CultureInfo>en-US</CultureInfo>
      <Requests>
      <Source>Web</Source>
      <ResultFields>All</ResultFields>
      </Requests>
      </Request>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      The method call expects the following parameters: Souce,
      AppID, Query, Cultureinfo and Requests.

      Requests parameter has sub parameters like source, result fields. When i run the application, it shows error

      [RPC Fault faultString="Error #1069: Property Source not found on String and there is no default value." faultCode="EncodingError" faultDetail="null"]

      How to pass the sub parameters ? In other development plattforms, it is passed as array.

      Thanks