Http service vs data services

is there any difference between Http service and data services?

Hi
         Data service is probably a server pushed communication like messaging.. It carries lots of changes as an object or arraycollection and as ubuntu said something like asyn service calls..
     and http service is like traditional http service .. we can use http services to load remote resources also in flex application..

Similar Messages

  • How do I debug an http service over a LAN in flex4

    Hi I have a problem I would really like some help with.I am hoping to use PHP as a back end for my app. I don't think AMF looks viable as I can't change the php.ini file on the production server or install Zend. As my data requirements are very small I have opted for http service calls .My set up is all my files are on a development machine and I'm editing them through a lan connection on windows vista. I have php Zend server runing on the server with mysql set up.
    My problem relates to testing. When I debug the file the calls don't seem to get through. The Network monitor confirms this. Also the spinning Icon stays up. I don't get any exception however.
    If I then open up the swf file through the network share then the file works. If I copy it from the share to my hard drive it doesn't. I don't understand whats going on but it's making debugging difficult as I can't use traces this way and exceptions are ugly.
    Is there a simple solution to this problem?
    Things it can't be : firewall. I can definitely open this address on port 80. Also the network address is right and I assume that if I open the client on my machine then it is connecting from my machine, so when it works the address must be right.The only thing I can think is the cross domain policy but I don't see why that should occur when the files on the same machine or does flex create a local copy for testing?

    I'm pretty sure you can do this by making a manual menu.
    >Insert a menu from your widget menu
    >Select the menu options for your widget
    >You will see an option that says "Menu Type" with choices of All Pages, Top Level Pages, or Manual
    >Select "Manual"
    You will have to manually set up your entire menu, but it will enable you to do what you are trying to do. Create the menu buttons that you need and name them. You can then select an individual menu button and the "Hyperlink" option appears in the top menus. You can either direct it to a page on your site or put in a link that directs them away from your site like you are looking to do.
    Hope this helps! Nobody is responding to my request, so I figured I would try to respond to someone else while I was waiting!

  • Multiple HTTP Services

    Hi
    I fill a mysql table with data from a datagrid. When the grid
    if full (50 lines) I send 50 http service request that concerns
    INSERT sql command. My question : Is there a better way then this,
    as to send all data in a single http service? but how??
    Thanks

    "robbyk87" <[email protected]> wrote in
    message
    news:gnrl9a$pfr$[email protected]..
    > Hey all,
    >
    > Is there a way I can OOP this so I do not have to create
    another button
    > set
    > the source and create multiple http services?
    >
    > Surely there must! But alas, I am at a loss here.
    >
    > Basically if I needed to add more images - I would have
    to create more and
    > more http services as well as all the 'like' commands
    for the image
    > button.
    I'm not sure what you mean by the "like" commands, but if you
    just use a
    repeater to repeat your buttons and use ONE HTTPService that
    looks at what
    index the button that was clicked is in the repeater list and
    sends based on
    that, I'd think you'd be pretty much there.

  • Using HTTP Services with SSL using Internet Explorer

    Hello,
    Basically what's happening is that the secure services aren't
    loading when I pull up the website when using Internet Explorer.
    The website works perfect in FireFox and Safari however nothing
    loads via the HTTP services when they use SSL. I've read over Lin
    Lin's article
    http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm
    about using SSL with IE however I'm confused as how to implement
    the changes she mentions. She basically mentions a couple of the
    reasons why the httpServices wouldn't be able to load data in when
    connecting via SSL. I've read over the Adobe TechNote at
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c&pss=rss_flashplayer_fdc7b5 c
    but this wasn't clear either.
    1. How do I change the server settings to have the correct
    header information?
    2. Can I change something in the Flex Compiler to allow for
    SSL and IE?
    This works perfect in FireFox and Safari and retrieves data
    with no problems. Any ideas, information would be appreciated.

    Hello,
    Basically what's happening is that the secure services aren't
    loading when I pull up the website when using Internet Explorer.
    The website works perfect in FireFox and Safari however nothing
    loads via the HTTP services when they use SSL. I've read over Lin
    Lin's article
    http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm
    about using SSL with IE however I'm confused as how to implement
    the changes she mentions. She basically mentions a couple of the
    reasons why the httpServices wouldn't be able to load data in when
    connecting via SSL. I've read over the Adobe TechNote at
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c&pss=rss_flashplayer_fdc7b5 c
    but this wasn't clear either.
    1. How do I change the server settings to have the correct
    header information?
    2. Can I change something in the Flex Compiler to allow for
    SSL and IE?
    This works perfect in FireFox and Safari and retrieves data
    with no problems. Any ideas, information would be appreciated.

  • Problem Creating a HTTP Service in SOAMANAGER

    Hi all,
    I am having difficulty in setting up a HTTP Service in SOAMANAGER.
    I have generated the Enterprise Service - Service Definition Succesfully in SAP from a RFC Enabled Function Group( this is working fine).
    I then go into SOAMANAGER -> Single Service Administration -> Select the Service -> Select the Configurations Tab -> Create Service
    The problem I have is that when this comes up under the
    Provider Security Tab -> Transport Guarantee -> Communication Security
    I do not have a radiobutton for "None" (this is what I want to select to create a HTTP service.)
    I have the options
    - SSL over HTTP (Transport Channel Security)
    - Asymmetric Message/Signature / Encryption
    - Symmetric Message/Signature Encryption
    Secure Conversation
    If you see William Li's blog /people/william.li/blog/2010/02/15/how-to-avoid-authentication-when-accessing-ws-provider-service you item 3.6 shows how the screen is supposed to look (with the additional option of "None" as the first radiobutton).
    My current workaround is to define the service and then go into SICF, select the service and change the Security Requirement from SSL to Standard on the Logon Data Tab. Although this works it is not the ideal solution.
    I'm wondering if there is something we are missing in our soap run time, perhaps a configuration setting we need to set in srt_admin. (I believe this option was there before we did a service pack upgrade)
    Has anyone experienced this before?

    Hi John,
    I've experimented something like that before. I think solution was:
    - Search the webservice in SE80, Repository Information System -> Enterprese Services
    - Enter the service definition
    - Go to 'Configuration' tab
    - Click on 'Transport Security'/'Authentication'
    - In profile setting, switch it for 'Low' or 'None'
    I believe this will turn available the option you're looking for.
    Kind regards,
    Garcia

  • Creating a progress bar on a HTTP Service

    Hello All,
    As the top title suggests, does anyone know the best way of doing this? The HTTP service is simply pulling some XML data and I want to inform the user of how long this is going to take or what % it is currently completed.
    I dont have much experience with using progress bars so any help would be much appreciated.
    THANKs!

    I found this online but It doesnt seem to work;
    If your HTTPService has id of httpService you have to first invoke an eventListener of type ProgressEvent.PROGRESS. On the stage or in your Popup you have to make a progressBar with id (for example myProgressBar)
    httpService.addEventListener(ProgressEvent.PROGRES, progressFunction);
    Than you have define a progressFunction that will accept broadcasted ProgressEvent like so
    private function progressFunction(event:ProgressEvent):void{
    myProgressBar.mode = 'manual';
    myProgressBar.setProgress(event.bytesLoaded, event.bytesTotal);
    //you can than do something when content is loaded
    if (event.bytesLoaded == event.bytesTotal){
    //code for popup removal or removal of progressBar

  • HTTP Service XML Response?

    Hi,
    I have implemented an HTTP service to my getXML.php which produces XML output. I used Flash Builder Data Menu to do that, not write services by hand. It created a service packet, and also created an object type as return value( valueObjects). It converts responed XML file into that object type, and user can use that object to access data. However, I want to get XML file directly, I do not want that conversion. I looked at action script codes, and modify operation.resultType but it did not work. Any suggestiontions?
              _serviceControl = new HTTPMultiService("http://localhost/XMLprovider/");
             var operations:Array = new Array();
             var operation:Operation; 
             var argsArray:Array;      
             operation = new Operation(null, "getXML");
             operation.url = "getXML.php";
             operation.method = "GET";
             argsArray = new Array("s");
             operation.argumentNames = argsArray;        
             operation.serializationFilter = serializer0;
             operation.properties = new Object();
             operation.properties["xPath"] = "/";
          operation.resultType = valueObjects.SelectionXML;           
             operations.push(operation);
             _serviceControl.operationList = operations;

    You will need to modify the <Service Name> class.
    You can modify its constructor as:
    package services.srv
        import mx.rpc.http.Operation;
    public class Srv extends _Super_Srv
        public function Srv()
            var operation:Operation = _serviceControl.getOperation("getXML") as Operation;
            operation.serializationFilter = null;
            operation.resultFormat = "xml";       
    You can then get the XML from the result event as:
    protected function Operation1Result_resultHandler(event:ResultEvent):void
                    trace((event.result as XMLNode).toString());

  • Http Service in FlashBuilder 4

    I have been attempting to connect a Flex4 List to an HTTP service with no luck whatsoever.  Are there any tutorials for this?  Is this even working?  Flex Builder 4 did a fantastic job of auto-discovering my XML data and presenting me type options for the data, but a truly horrible job of letting me know what it was doing with that information. 
    This seems to be partly a problem of excessive MXML dependency.  After 10 hours of chasing rabbit trails, I still have not been able to stick a debugger on anything that would help me to understand what is going wrong.  Looks like it's back to HTTPService and E4X :S

    I finally figured out what was wrong...  the automically generated dataProvider was set to the parent object of the object that it should have been.  So, after that and ditching the spark BitmapImage for the Halo Image (b.c. of its auto URL capabilities) I was in business.  I definitely still vote for greater developer visibility into the whole magical world of data services.

  • HTTPS service

    I would like to use HTTPS service to load an external XML
    file, then make an AIR from the web file. Will the HTTPS service
    work? If not will
    <mx: xml id ="xml" source = ? /> work?
    Thanx

    Using httpService with air works fine. you can set the
    resultFormat as e4x, on the initialize function of the component
    you could send the data, and on the result event of the httpService
    you could get the data on a xml variable

  • HTTP Services in XI

    Hi All,
    Recently I was asked to find what are HTTP Services in XI 3.0? Where we can see this information?
    Regards
    Hany

    Hi
    I think he is talking about the HTTP CC
    /people/kausik.medavarapu/blog/2005/12/29/csv-file-lookup-with-http-request-and-response-in-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm
    /people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
    Thanks

  • HTTP Service / Progress bar

    Hi all,
    I'd like to know if there's a solution to my problem.
    I have an HTTP Service returning e4X data. As the results are
    pretty big, it takes some time to display the whole thing. Is there
    a solution to put a progress bar while loading the HTTP Service ?
    Thanks a lot,
    Have a nice day,
    Cedric

    I found this online but It doesnt seem to work;
    If your HTTPService has id of httpService you have to first invoke an eventListener of type ProgressEvent.PROGRESS. On the stage or in your Popup you have to make a progressBar with id (for example myProgressBar)
    httpService.addEventListener(ProgressEvent.PROGRES, progressFunction);
    Than you have define a progressFunction that will accept broadcasted ProgressEvent like so
    private function progressFunction(event:ProgressEvent):void{
    myProgressBar.mode = 'manual';
    myProgressBar.setProgress(event.bytesLoaded, event.bytesTotal);
    //you can than do something when content is loaded
    if (event.bytesLoaded == event.bytesTotal){
    //code for popup removal or removal of progressBar

  • "Security error accessing url" - Accessing HTTP service   running on another machine

    Flex app is hosted as web service and is trying t access data
    from HTTP Service
    running on different machine. It throws following error
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    at
    mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
    n()
    at flash.events::EventDispatcher/dispatchEvent()
    But when I run the HTTP Services (data provider) on same
    machine application
    works fine.
    Already used crossdomain.xml

    Sorted the cross domain problem by using mx:Webservice rather
    than an httpservice.

  • Http service too busy error for SSIS adapters for SharePoint - SSIS 2005 and MOSS 2007

    Hi,
    a my old SSIS 2005 pkg that uses the SSIS adapters for SharePoint from only some days ago goes in error with this message for a data flow task that reads from a MOSS 2007 list:
    Error: System.ServiceModel.ServerTooBusyException: The HTTP service located at
    http://mysitename/_vti_bin/lists.asmx is too busy.  ---> System.Net.WebException: The remote server returned an error: (503) Server Unavailable.    at System.Net.HttpWebRequest.GetResponse()   
    at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    --- End of inner exception stack trace ---  Server stack trace:     at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException
    webException, HttpWebRequest request, HttpAbortReason abortReason)    at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    at System.ServiceModel.Channels.RequestChannel.Request(Message
    message, TimeSpan timeout)    at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime
    operation, Object[] ins, Object[] outs, TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
    message)  Exception rethrown at [0]:     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
    msgData, Int32 type)    at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoap.GetListAndView(GetListAndViewRequest request)    at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.ListsService_ListsSoap_GetListAndView(GetListAndViewRequest
    request)    at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListsService.ListsSoapClient.GetListAndView(String listName, String viewName)    at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.GetSharePointFields(String
    listName, String viewId)    at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, String listName, String viewName)    at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.GetAccessibleSharePointColumns(String
    sharepointUrl, String listName, String viewName)    at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.ValidateSharePointColumns()    at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.Validate()   
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostValidate(IDTSManagedComponentWrapper90 wrapper).
    Any suggests to me, in order to solve this issue? Many thanks

    Unfortunately your post is off topic as it's not specific to SQL Server Samples and Community Projects.  
    This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it.  The links I provide below will help you determine the right forum to ask your question in.
    For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
    Office, IE, and other products.
    For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
    search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
    search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
    If you think your issue is related to SQL Server Samples and Community Projects and I've flagged it as Off-topic, I apologise.  Please repost your question and include as much detail as possible about your problem so that someone can assist you further. 
    If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCSA, MCITP, MCDBA
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • Accelerometer and HTTP Service

    We are developing an iOS app that samples the accelerometer and sends the results to a local web service.  In testing, it looks like the accelerometer sampling completely stops during the HTTP service call (HTTP Post) resulting in data dropouts.  Is this expected behavior?  Is there anything to make the sampling and the HTTP call concurrent?  Would switching over to UDP using a native extension prevent the sampling dropouts? 
    iPhone OS:  5.0.1
    Thanks

    Thanks for the advice but I don't have both http servers running at the same time. I am shure I am connecting to JES at port 8080. To assure you of this I can tell that if jes is running I get "Not found" at port 8080 and when I shut it down I get connection refused. He is there but he doesn't like me!!!!
    Not even HomePortal works... sigh...

  • Newbie to Flex Http Services

    Hi,
    I am trying to Integrate Flex with Hibernate and want to use
    Http Service to communicate with the back end. Most of the related
    articles I read mention about Flex Data services. But I don't want
    to use them.
    Is it possible to build an application that integrates with
    Hibernate without using Data services?
    Thanks in advance

    Hi,
    Yes you can do that. Create a servlet/JSP page which will
    invoke the Hibernate classes and give the URL to the servlet/JSP to
    the HTTPService component.
    Hope this helps.

Maybe you are looking for