Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Poblem with data services

Avatar

Level 1
Guys



I have the following code to get to a web service



<mx:WebService id="exec">

<mx:operation name="Discover">

<mx:request>

<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_CUBES</RequestType>

<Restrictions>

<RestrictionList></RestrictionList>

</Restrictions>

<Properties>

<PropertyList>

<DataSourceInfo>default</DataSourceInfo>

<Catalog>XSAMP01 </Catalog>

<Format>Tabular </Format>

</PropertyList>

</Properties>

</Discover>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

</mx:request>

</mx:operation>

</mx:WebService>

<mx:Script>

<![CDATA[

import mx.rpc.AbstractOperation;

import mx.rpc.soap.WSDL;

import flash.events.*;

import mx.rpc.*;

private var listIndex:Number = 0;

private function main () : void {

exec.setRemoteCredentials(***, ***);

exec.setCredentials(**,**);

exec.useProxy = true;

exec.loadWSDL("<web_service_url?wsdl");

exec.Discover.send();

}



I get nothing in the last Result



what is missing, I did not set the destination



Thanks in advance for help



Kasem

0 Replies