Hi I have generated a WebService using oc4j server(Jdeveloper). I am trying to invoke that service from flex using <mx:webservice> tag. But it doesn't invoke the service at all.
here is the code <mx:WebService id="serviceID" wsdl="http://localhost:8889/DepartmentServices/DeptServiceSoapHttpPor t?wsdl" service="DeptService" port="DeptServiceSoapHttpPort"> <mx:operation name="findDepartmentByDeptno" > <mx:request> <result>30</result> <!-- parameters --> </mx:request> </mx:operation> </mx:WebService> <mx:Panel title="WebService Example" height="75%" width="75%" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10"> <mx:Label width="100%" color="blue" text="Enter Department No to obtain Department Name:"/> <mx:TextInput id="DName" /> <mx:Button label="Get Dept" click="serviceID.findDepartmentByDeptno.send()"/> <mx:Text htmlText="Current Dept: {serviceID.findDepartmentByDeptno.result}"/> </mx:Panel> </mx:Application> When I try to run this example , nothing happens at all.Can anyone guide me about how to go on with this example. Thanks in advance.

