Arun, here is the syntax from the livedocs example:
http://livedocs.adobe.com/flex/2/langref/mx/rpc/soap/mxml/WebService.html
livedocs is your friend ;)
<mx:WebService
Properties
concurrency="multiple|single|last"
destination="No default."
id="No default."
serviceName="No default."
showBusyCursor="false|true"
makeObjectsBindable="false|true"
useProxy="false|true"
wsdl="No default."
Events
fault="No default."
result="No default."
/>While my photo is there in the flex dictionary under "noob", I believe you
want to call your web service with the wsdl= property like so:
wsdl="http://myserver:theport/pathtowhatever/GBLEComNewsService.php?wsdl"
I am not familiar with the syntax for PHP, as I code in CFMX, but in CFMX the
wsdl would look like that with the .php replaced with a .cfc
Hope this helps
Jim
----- Original Message ----
From: Arun Sadasivan <[EMAIL PROTECTED]>
To: Flex <[email protected]>
Sent: Friday, March 2, 2007 12:56:11 PM
Subject: problem in calling webservice with flex2
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 Web Applications With ColdFusion MX7 & Flex 2.
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3674
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37