1 Reply Latest reply on Jul 15, 2007 11:46 PM by Marc de kwant

    Alfresco webservice access

    Marc de kwant
      I would like to know how one can access alfresco webservices from actionscript 3.0 or flex 2 mx controls.. my code sofar is=

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">

      <mx:WebService id="alfServ"
      wsdl=" http://myalfrescoserver.nl/alfresco/wsdl/authentication-service.wsdl"
      endpointURI=" http://myalfrescoserver.nl/alfresco/api/AuthenticationService">
      <mx:operation name="startSession">
      <mx:request>
      <username>admin</username>
      <password>admin</password>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      <mx:TextInput x="132" y="107" id="username"/>
      <mx:TextInput x="132" y="137" id="password"/>
      <mx:Button x="132" y="167" label="Button" click="alfServ.startSession.send();resultaat.text=alfServ.startSession.request.ticket"/>
      <mx:TextArea x="132" y="197" width="515" height="169" id="resultaat" text="blank"/>

      </mx:Application>

      regards,

      Marc