1 Reply Latest reply on Nov 15, 2006 3:18 PM by Kasem_Abotel

    Service work in HTML, but does not work in Flex

    Kasem_Abotel
      I have the following

      <SOAP-ENV:Envelope
      xmlns:SOAP-ENV=' http://schemas.xmlsoap.org/soap/envelope/'
      SOAP-ENV:encodingStyle=' http://schemas.xmlsoap.org/soap/encoding/'>
      <SOAP-ENV:Body>
      <Discover>
      <RequestType>MDSCHEMA_DIMENSIONS</RequestType>
      <Restrictions>
      <RestrictionList>
      <CUBE_NAME>$XSAMP01</CUBE_NAME>
      </RestrictionList>
      </Restrictions>
      <Properties>
      <PropertyList>
      <DataSourceInfo>datasource=default</DataSourceInfo>
      <Catalog>$INFOCUBE</Catalog>
      <Format>Tabular</Format>
      </PropertyList>
      </Properties>
      </Discover>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>

      works fine in HTML Client

      when I use Flex


      <mx:WebService id="exec" result="onDiscoverDimResult(event);" wsdl=" http://us4278.wdf.sap.corp:50073/sap/bw/xml/soap/xmla?wsdl" useProxy="false">
      <mx:operation name="Discover">
      <RequestType>MDSCHEMA_DIMENSIONS</RequestType>
      <Restrictions>
      <RestrictionList>
      <CUBE_NAME>$XSAMP01</CUBE_NAME>
      </RestrictionList>
      </Restrictions>
      <Properties>
      <PropertyList>
      <DataSourceInfo>datasource=default</DataSourceInfo>
      <Catalog>$INFOCUBE</Catalog>
      <Format>Tabular</Format>
      </PropertyList>
      </Properties>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      I get empty data

      what is wrong with my Flex Code

      Thanks

      Kasem