take a look at the docs http://livedocs.adobe.com/flex/201/langref/mx/rpc/soap/mxml/WebService.html name is not a attribute, further, can't have a space between <mx: and WebService. As the docs indicate, you need to supply the wsdl attribute.
Here is a example of use http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=582 HTH DK On 3/2/07, Arun Sadasivan <[EMAIL PROTECTED]> wrote: > > i Had registered a PHP written webservice as > GBLEComNewsService.getCategory > > GBLEComNewsService is the class name and getCategory method name > > > > How can i call this webservice using the webservice component of flex > > <mx: Webservice id = "ws" name = "GBLEComNewsService.getCategory"... > > this is the way i expected as i used to call this webservice like this in > normal php clients. > > but while used like this i got error like ( Syntax error: colon is > expected > befor dot ) > this error statement will nt be shown by the interpreter when the " . " > between classname and method name is removed. > > So how can i get this webservice in my flex... > plzzz give me some solution. I got completely stucked in this problem . > > > > > > -- > Regards, > ...Arun > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3675 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
