1 Reply Latest reply on Mar 5, 2009 9:21 AM by DRT_Chris

    Cant Get Web Service to work - help please

    djduffy
      Hi there, I have a very simply web service accessible using the following URL;
      http://172.31.1.14:8888/core_web_service_2/core_web_service_2SoapHttpPort?wsdl

      It seems to be working OK, but when I try to get it to work in Flex nothing seems to happen. I dont even know where the problem is. below is the code snippet of what I am going. Any help would be appreciated.

      Even if you could suggest where I might start to get errors, I tried the property fault in the web service but it did not seem to show anything.

      thanks in advance Darragh



      <mx:WebService wsdl=" http://172.31.1.14:8888/core_web_service_2/core_web_service_2SoapHttpPort?wsdl"
      useProxy="false" id="signin_ws" showBusyCursor="true" result="handle_result(event)">
      <mx:operation name="getAllEmployeesTable">
      </mx:operation>
      </mx:WebService>


      <mx:DataGrid x="179" y="58" dataProvider="{signin_ws.getAllEmployeesTable.lastResult}">
      <mx:columns>
      <mx:DataGridColumn headerText="Surname" dataField="employeeName"/>
      </mx:columns>
      </mx:DataGrid>

      <mx:Button x="328" y="244" label="Call Web Service" click="signin_ws.getAllEmployeesTable.send()"/>