example of Web http service

Hello

I am a new developer in blackberry.

The first application I want to develop is webservice app.

What package I use?

Please give examples of it.

The sample is to start with the httpDemo that you will find with your tools.  That you get.  Don't forget to start the MDS Simulator.

Once you have this work for your URL, you can then start to extend the application to research

(a) treat in reality you will receive data

(b) ensure that you manage the networking properly.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • How can I configure Mozilla to accept connections on port "The World Wide Web (HTTP) service"?

    When you try to embed a video in PowerPoint 2013, the "Sorry we are having some problems of temporary service" message.

    In research on the problem to Microsoft. com, the following message is received: Mozilla is not configured to accept connections on port "The World Wide Web (HTTP) service."

    Hmm... PowerPoint must use Windows to connect to the internet and not Firefox.

    What method do you use?

    (1) insert > video > video online

    Apparently, there was an update this month that allows this, as described in this message of support (see the top of page answer right after the question): embedding video in powerpoint 2013 - Microsoft YouTube community online

    Here's how it should work after the update: Insert or link to a video on YouTube - PowerPoint

    (2) developer > control > Shockwave Flash Object

    As documented on other sites, such as: https://www2.palomar.edu/pages/atrc/2013/09/17/how-to-embed-youtube-video-in-powerpoint-2013/

  • The device or resource (127.0.0.1) is not configured to accept connections on port "The World Wide Web (HTTP) service".

    Hello

    I just deploy the tomcat in windows server 2008 and to test whether it is installed correctly. When I opened the IE9 and type in http://localhost: 8080, he goes to the homepage of tomcat successfully. However, when I slap http://127.0.0.1:8080, it shows that Internet Explorer cannot display the webpage (normally, these two methods are the same for the homepage of tomcat). Then I try to diagnose the connection problem. The problem found is - the remote device or resource does not accept the connection. The device or resource (127.0.0.1) is not configured to accept connections on port "8080".
    Then I tried the same procedures in my own laptop, there is no problem. So I wonder if there's some features are disabled on the windows 2008 Server. Can you help me?

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Technet Forums. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/categories/

  • Web - REST service reference

    I have a REST GET service that supports p1 and p2 as a parameter and returns a base line. I am trying to build the web service reference. {I select REST as the webreference and then give it a meaningful name and attachment of the URL with the URI suffixed (2 settings) for example http:xx.xx.xx./xyz/customer_number/{customer}/salesrep_number/{salesrep_number}, no proxy and I select the name of the GET, JSON, no output basic authentication method. Now I have 2 parameters - salesrep_number and customer to define and try to run a test and he complains not FOUND, are not just URI syntax since it is what has been set in the RESTFUL Web service and it works from the workshop/Restful SQL service but fails under References webservice under shared components. Any help is appreciated.

    Hi P.T.

    You mentioned 'he doesn't like the character '.' at the end.' -What exactly do you mean by "it"?   Just to be clear, you don't need to modify the RESTful Service module that you defined under SQL Workshop > Services RESTful - which must remain in its URI template using {client}.  The & nom_element. I already mentioned the syntax is specifically designed for the URL you set in shared components > a Web Service reference.

    Lets try this - take a look at the example of Service default RESTful, oracle.example.hr, installed in your workspace under SQL Workshop > RESTful Services.  In this module, you will see a empsec / {empname} example.

    1. If you test this example with the button 'Set Bind Variables' and provide a valid employee of the KING name in the value field, click on test to make sure that you managed to get the JSON result.  Take note of the URL generated for this test.
    2. Now access your application and create a web service reference based on this particular example, through shared components > Web Service References > Create.
    3. When executing step by step through the wizard, set the URL to the empsec / {empname} example, but replace {empname} with & EMPNAME. for example http://hostname/services/hr/empsec/&EMPNAME.
    4. Now, run the Wizard Page, and then select form > form report on Service Web-> step through the wizard, selecting the web reference service that you created in step 4 and click Next until you reach the last step of the wizard, where you will then click on create to complete.
    5. Change the page created, and then run the wizard to create a new item and create a new item of type page text field, with the name EMPNAME - to correspond with the binding reference variable in your URI.
    6. Run this page, enter KING in the text field and click on submit.  The region of results on the page should then be filled with the JSON result returned by the web service.

    If you can get this example to work, you will be able to compare the empsec / {empname} example with your own, which should hopefully help identify all differences that may ask questions.

    Kind regards

    Hilary

  • Why I get this message at startup when windows live mail XP: Sorry, we can not synchronize your calendar because the web calendar service is not...

    December 2011 this message continues to apear after startup or sync Windows Live Mail XP. Sorry, we can not synchronize your calendar because the web calendar service isn't available right now. We will synchronize your calendar as soon as the service is again available. My Dell DIME521 and software are up-to-date, please help...

    Hello

    You can post your queries to Windows Live Mail to newsgroups, because the problem is with Windows Live mail.

    http://windowslivehelp.com/product.aspx?ProductID=15

  • playback does not work in OpenScript for Assistant web/http loadtesting

    Hi the gems...

    I am facing another problem with OATS 12.1.0.1 during playback of recorded for load testing scripts. But this time I do not know if the cure will come from our application or from the OATS.

    In our application for loadtesting, I recorded a few simple steps.
    My sailing in OpenScript:
    New > Load Testing (Protocol Automation) > Web/HTTP > default repository > open an empty script > began recording > window was open > hit the url of our application > connected with a name of user and password > disconnected.

    Scripts has saved successfully. Now when I started reading, then he got failed with the error:
    + Could not solve the web.input.Submit variable with the path .//input[@name='submit']/@value+

    In our application, each sessionid is captured and may be because of this reading and a recorded script script made two different SessionID for the connection.
    Because when I made the comparison between the recorded script and reading, then I got the threshold that does not between these two:
    + < form method = "POST" id = "formLogin" name = "formLogin" action = "/ wm/j_spring_security_check;" JSESSIONID = C9D732999E78008EC5CB3B77A6B703A4"onsubmit ="return validateForm (this)"> +.

    JSESSIONID value does not match between the recorded script and the script reading.




    But when I did the test of functional / regression of the same, then it worked perfectly without any failure.

    Please give your point of view. Thanks in advance.

    Published by: gogol on May 23, 2012 12:44 AM

    This Web page should have some javascript that creates the value for the parameter "j_password".

    . Param ("j_password", "70300886ea87fade932332926317f269598827246763436004b79e4f16c60813"),

    Look in the html for j_password page and find the code defined in the javascript code. Then using the same algorithm add of the java code to do the same thing in your script. It is possible that it is not javascript, for example, it could be a java applet or something else outside, although it is not likely. Your in-house developers created this app? If so ask them to give you the snippet of java code or algorithm to allow you to set a password in clear text for a "j_password".

  • HTTP Service error

    Hi all

    I searched and read about everything I found, and that you can not solve this problem. Help, please!

    I have a flex project 4 that works beautifully locally. It allows a person to complete a form that is sent to a cgi script. In turn, as cgi script querries a remote server and responds to my flex application with an xml file that I use in the rest of the application.

    MyApp-> script.cgi-> server-> xml-> MyApp script.cgi file remote results

    Unfortunately, I get security and http errors when you try to use this app on my school server. I included a file of cross - domain.xml of information on the remote server, but given that the information that I need for my application is an xml file that came out of my script cgi in my cgi - bin, I don't know that the cross-domain file is even necessary. Is it? I * get the error before that information is written to the cgi - bin... so the xml file I need is never written. On the cgi - bin, the permissions are set to allow to write and perform, and outside of my application, I am able to run scripts that write to the folder.

    Y at - it a server (Apache) that could prevent my working flex application?

    Is there something I need to put it in Flex? On init(), tried URLLoader and Security.allowInsecureDomain ("*.mysite.com"), but nothing seems to make any difference.

    Any help is appreciated.

    Thank you!

    Try to run the cgi on your school server script without calling it the app to exclude it.  There may be problems with access to the xml file that you load.  If the file you load via the script is located locally on the server, then you are right, you won't have a cross-domain file.

    That said, if the appeal of cgi of the flash application via a url which is a complete domain instead of a relative path name, so you will need file cross-domain if domains don't match exactly.  For example if the swif is located in http://mydomain.com/swf.html, the cgi also should be located to http://mydomain.com.  Hope this helps troubleshooting.  I found HTTP service calls to be more difficult to resolve because of all the things that must be right in order to make them work, but I use them a lot.

  • Using the HTTP Services with SSL using Internet Explorer

    Hello

    Basically what is happening, is that secure services are not load when I shoot to the top of the Web site when you use Internet Explorer. The site works perfectly in FireFox and Safari support however nothing via the HTTP services when using SSL. I read the Wired article http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm on the use of SSL with THE de Lin Lin, however I am confused as how to implement the changes that she mentions. Basically, she mentioned a couple of the reasons why the httpServices would not be able to load data in the event of connection via SSL. I've read about the Adobe TechNote at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c & SSP = rss_flashplayer_fdc7b5 c , but it was not clear either.

    1. How can I change the settings of the server have the correct header information?
    2. can I change something in the compiler Flex for SSL and IE?

    It works perfectly in FireFox and Safari, and retrieves the data without any problem. All ideas, information would be appreciated.

    Hello

    Basically what is happening, is that secure services are not load when I shoot to the top of the Web site when you use Internet Explorer. The site works perfectly in FireFox and Safari support however nothing via the HTTP services when using SSL. I read the Wired article http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm on the use of SSL with THE de Lin Lin, however I am confused as how to implement the changes that she mentions. Basically, she mentioned a couple of the reasons why the httpServices would not be able to load data in the event of connection via SSL. I read on the Adobe TechNote http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c&pss=rss_flashplayer_fdc7b5 c , but it was not clear either.

    1. How can I change the settings of the server have the correct header information?
    2. can I change something in the compiler Flex for SSL and IE?

    It works perfectly in FireFox and Safari, and retrieves the data without any problem. All ideas, information would be appreciated.

  • How pass an array into a php url using the flex http service?

    How pass an array into a php url using the flex http service?
    im making something like this:
    http://localhost/flex_php/example_return_xml.php?id= {mylist}
    -mylist? TABLE
    -If I try to use a text variable it works for example. {myvar.text} where myvar is a text input

    Any idea!

    How can I get using XML?
    I tried to push the table in a textinput & sent the text of entry in php, it worked!

  • Download files and HTTP service

    Hi all

    I have a problem in the communication of the return values after the upload of a file. I have my flex with HTTP Service registered application that is my servlet server-side. When I am in normal event processing, all right. In my mxml file I have:

    < mx:HTTPService id = "textRequest".
    method = "post".
    ' URL =' http://localhost: 8080/myservice "
    useProxy = "false".
    resultFormat = "e4x".
    result = "OnResult (Event); »
    Fault = "onFault (Event); ' invoke = "onInvoke (event)" >
    < / mx:HTTPService >

    Result method is recorded and it is treat all my data server. But this method is not invoked when I file upload, clues why? After downloading files, I need to communicate the contents of the downloaded file in turn, and I just wanted to put this in the response from the server. Just for the record, next to this file upload works fine.

    Thanks for the help,
    See you soon

    Hello

    I think I found the solution of optmial for me. In my case, I didn't have to double the number of communicates, so here it is, all download event data and a code for this example:

    dispatcher.addEventListener (DataEvent.UPLOAD_COMPLETE_DATA, uploadCompleteDataHandler);

    private void uploadCompleteDataHandler(event:DataEvent): void {}

    var result: XML = new XML (event.data);
    dataString = result.data.@text;

    }

    Event.Data contains 'raw server rΘponse' so that you can retrieve your data from there.

    Thanks for your help :)

    P.S. I found some info on it here:
    http://www.dgrigg.com/post.cfm/08/02/2007/Flex-and-Flash-file-uploading-with-return-data

  • Urgent: Could not start the Web analysis services

    Hello Experts,

    I have problems starting the Web Analysis Services. Not able to start the Web analysis services

    from weblogic with the Java version:
    version Java '1.5.0.07 '.
    Java (TM) 2 Runtime Environment, Standard Edition (build 1.5.0.07 - _20_mar_2007_05_31)
    Java hotspot Server VM (build 1.5.0.07 mixed jinteg:03.20.07 - 11:05 IA64, mode)
    WLS starting with line:
    /opt/java1.5/bin/Java-serveur-Xms256m-Xmx512m - XX : MaxPermSize = 128m-Dhyperion.home=/hyphome/Hyperion-DESS_ES_HOME = / hyphome/Hyperion/BIPlus/appsinfo/WebAnalysis/EssbaseJAPI - Datf.session.binding.kill-avec-préjudice = vrai-Dweblogic.j2ee.application.tmpDir=/var/tmp/hyperion-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0-da-Dplatform.home=/hyphome/bea/weblogic91-Dwls.home=/hyphome/bea/weblogic91/server-Dwli.home=/hyphome/bea/weblogic91/integration-Dweblogic.management.discover=false-Dweblogic.management.server= http://localhost : 7001 - Dwlw.iterativeDev=false-Dwlw.testConsole=false-Dwlw.logErrorsToConsole=-Dweblogic.ext.dirs=/hyphome/bea/patch_weblogic910/profiles/default/sysext_manifest_classpath-Dweblogic.Name=WebAnalysis-Djava.security.policy=/hyphome/bea/weblogic91/server/lib/ WebLogic.Policy weblogic. Server
    < 6 January 2010 12:28:36 IST > < Info > < WebLogicServer > < BEA-000377 > < start WebLogic Server with the Version of machine virtual Java hotspot Server 1.5.0.07 jinteg:03.20.07 - 11:05 IA64 Hewlett - Packard Company >
    < 6 January 2010 12:28:37 IST > < critical > < WebLogicServer > < BEA-000362 > < server failed. Reason:

    There are 1 nested errors:

    weblogic.management.ManagementException: cannot get a lock on hyphome/Hyperion/deployments/WebLogic9/./servers/WebAnalysis/tmp/WebAnalysis.lok. Server may already be running
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:159)
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:59)
    at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:82)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:365)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:116)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:630)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    in weblogic. Server.main (Server.Java:67)

    >
    < 6 January 2010 12:28:37 IST > < opinion > < WebLogicServer > < BEA-000365 > < changed failed State Server >
    < 6 January 2010 12:28:37 IST > < error > < WebLogicServer > < BEA-000383 > < is not an essential service. The server will shut down >
    < 6 January 2010 12:28:37 IST > < opinion > < WebLogicServer > < BEA-000365 > < server status changed to FORCE_SHUTTING_DOWN >

    Any suggestions would be a great help. Thanks in advance.

    Kind regards
    Sudhir

    Edited by: 637223 January 6, 2010 13:54

    Are you sure there's not another web analytics web application processes running, have you checked the processes running on the machine, you will need to kill or stop one of them to release the lock.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • I'm about to change web hosting service, but not the email addresses - how to back up my archived emails?

    I am changing web hosting services but will keep the areas and associated e-mail addresses. I don't want to lose the mails I saved in folders. They will remain available after I have change the host site or I have to save elsewhere? If I need to save, what will do?

    It is IMAP

    With IMAP, all mail is handled on the server. So, to keep all your mail, you'll need to save all messages in your account "local folders".

    First of all to replicate the folder structure on the server in your 'local folders '. You will need create these folders manually.

    Select all messages in a folder on the server (press Ctrl-a). Right-click the selected messages - copy - choose the corresponding destination folder

    I would like to start with a single message to test the procedure. If you have a big no. messages, in pieces, do not copy thousands of messages at once. After each copy action, verify that messages have in fact been copied on.

    Repeat the procedure for every folder on the server.

    Once your new account (IMAP) works, you can download the messages to the new server.

  • Cannot access the Web http sites

    Since yesterday, I have not been able to access any site that begins with http://, only Web sites that begin with https://. I do not download anything anything beforehand, it was working fine in the morning, but I came home in the afternoon and it did not work. No one else has used the computer. I can't go to these Web sites on firefox, safari or google chrome. I tried to unplug my router, clear the cache, history and cookies from my browser, resetting the computer, update the computer and the browser, use OpenDNS, but nothing works. I installed HTTPS Everywhere, that allows me to go on a site that wouldn't work before, but most of the websites that I use usually will not work.

    I'm lost for what to do, so any help would be appreciated.

     / System Preferences / network / advanced / proxies / then deselect "proxy web http.

  • How can I get my example Yahoo web pages to fit the screen of my computer?

    How can I get my example Yahoo web pages to fit the screen of my computer?  When I open yahoo page is longer then the screen of my computer. This is happening on all pages, when I opened.

    Advisor.

    Andy

    original title: computer screen

    Hello!

    Try this:
    1. shoot to the top of your Internet explore
    2. go to the toolbar at the top of the page go to hell VIEW > ZOOM > and adjust the size of the page that will fit your window.
    Hope this helps,
    Thank you
    Makoi
  • Unable to connect to the web proxy/services

    Unable to connect to the web proxy/services used for officejet pro 8600 as well as using verizon fios actiontec router.  I tried wireless and ethernet.  Connectivity seems good.

    Resolved.  Port forwarding blocked by another application of verizonwebcamera problem.

Maybe you are looking for