Troubleshooting Webworks web service consumer - work on the ripple

Hello

I'm developing my first web service Webworks app. It works perfectly well on ripple.

I just publish the application on my BB Bold 9700 (OS6), it opens fine, but when I fire the XMLHttpRequest.open seems have not received response from webservice.

Is there a way to solve these issues?

      var xmlHttp = new XMLHttpRequest();

      function doClick() {
        var varfirstname = document.getElementById('Firstname').value;
        var varlastname = document.getElementById('Lastname').value;
//        var url = "http://localhost:1762/EPB-Webservice.asmx/GetUserJSON?firstname=" + varfirstname + "&lastname=" + varlastname;
        var url = "http://myserver/EPB-Webservice/EPB-Webservice.asmx/GetUserJSON?firstname=" + varfirstname + "&lastname=" + varlastname;
        xmlHttp.open('GET', url, true);
        xmlHttp.onreadystatechange = callbackFunction;
        xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
        document.getElementById('results').innerHTML = "Requesting...";
        xmlHttp.send(null);
      }

Thank you

Roberto.

Are you aware of the option of web Inspector.  You can activate it by waving before running your application on the device?  Then you can check errors and elements on the device by using the ip address of the appliance and the port 1337.

Also do you have white registered the domain of the function in your config.xml file?

Tags: BlackBerry Developers

Similar Questions

  • SOAP Web service only works if the binding variable included in the object view


    JDeveloper version - 11.1.1.7.0


    I did this video Building WS to an existing of ADF - Insider ADF application for the integration of web services SOAP at my request. It worked fine until I added a variable binding to the my view object (after which she stopped recovery of values). I tried checking the log by modifying the FINEST logging level as proposed for ADF BC Logging none of the mistakes. Please help me on changes to make it work.

    Answered by thread

    ERROR when using ViewCriteria in search of Service BC ADF

  • By using the web service ActionsService to load the account data

    Hello

    We are looking to automate the loading data of an EPM - HFM Application accounts.

    We wre able to charge through the front-end server. About Automation, we were able to configure GOSA strategies for the web service, create the native user in console weblogic and import and use the public key of client web service proxy.

    The URL of the wsdl file that we ask is http://192.168.50.21:7363 / oracle-EMP-fm-Web services/ActionsService? wsdl

    The method we are trying to call is iActionsService.loadData ("clustername", "name the Application", "E:\\testpad\\Hyperion\\data\\DATA.txt", null, ",", DataLoadMode.MERGE, false, false);

    The errors below are found in the file log immediately after the race. Please help us find what needs to be done in the setting of these errors. Are we sending the right params to the web service?

    Do we still need to make other changes to weblogic/em to make this work? Please suggest.

    Oracle EPM-edition of Fusion

    version - 11.1.2.4.0.79

    Thank you and best regards,

    Guna

    Newspapers, we find that

    We might be able to connect to the application - Session is created with the Session id: 5e95de6f-e828-4121-8765-36c186e72355

    An unexpected error has occurred-

    oracle.epm.fm.common.exception.HFMException: EPMHFM-65536: an unexpected error has occurred.

    at oracle.epm.fm.common.exception.ExceptionHelper.handleException(ExceptionHelper.java:45)

    at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:281)

    Error EPMHFM-65925

    java.lang.NullPointerException

    at org.apache.thrift.protocol.TCompactProtocol.writeString(TCompactProtocol.java:325)

    at oracle.epm.fm.thrift.protocol.TMultiplexedProtocol.writeString(TMultiplexedProtocol.java:112)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10236)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10152)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args.write(LoadExtractHandlerService.java:10087)

    at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:63)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.send_loadData (LoadExtractHandlerService.java:639)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.loadData (LoadExtractHandlerService.java:629)

    at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:269)

    at oracle.epm.fm.actions.LoadDataAction.execute(LoadDataAction.java:100)

    at oracle.epm.webservices.fm.ActionsService.LoadData(ActionsService.java:315)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    Post edited by: 2837182

    Got it working now.

    Case of a brain freeze. The data file must be located on the server.

  • Bind several web service data controls on the same page

    Hello
    JDev version: 11.1.1.6.0
    I using SOAP web services. I have the following usage:
    I have the data control for the web service, that records the values entered into the form. I created the entry form using the data control (DC1).
    There is an input field [T1], on the tab, I need to fill an another text field, for which the data is returned to an another web service (DC2) data control.
    For the same input text [T1] on the tab out, I need fill in the object list in the component selectonechoice, for which the data is returned to an another web service (DC3) data control.

    Is it possible to use bind several data controls on the same page to reach the use case?
    However, I want to avoid the use of managed bean. Is it possible to do this?

    Concerning
    Fabiola

    Hello

    I can make the case to use even without the use of the managed bean?

    Yes, although the managed bean solution seems reasonable to me.

    Difficulties are

    + 1) REQ1 and REQ2 are the parameters that is common to both 1 and 3 services. +

    Text fields that provide arguments to a method are related to an input variable (file PageDef has an iterator variable in the executable section). A variable can be referenced from method arguments

    + 2) REQ1 is the parameter that is common to both 2 and 3 services. +

    Identical to 1. Create a setting for service 2 and map variables in the arguments of the method of service 3

    + 3) Service3 needs all REQ1, REQ2, REQ3, and REQ4 parameters as parameters to save the data. +

    As said, fields can be referenced from variables, dependent, the linking of the attribute fields (as I guess it is a return value in the bound field)

    There are problems of links as the same setting is available between several departments.

    It's new to me

    Is it possible to solve these problems of binding addresses?

    Yes. Make sure however that WS DC iterators you see in PageDef have their property Refresh ifNeeded for the refreshment of the bound field work properly

    Frank

  • How to configure a web service primavera to return the data in the second database?

    Hello world


    We have P6 with WS first deployment on a single weblogic domain server. The first WS returns the first instance of database data.

    Then deployed to the WS second tip on a weblogic domain server separated with a different port. Set up the second WS with < WS2_INSTALL_HOME > / bin/dbconfig.sh, creating a new branch a configuration that specifies one second instance of the database. However, this configuration is ignored, and the second web services return data from the database.

    We have a single domain, including notably the following servers:

    Name / host / Port / deployments

    P6 / localhost / 0001 / P6 (v8.3), p6ws1 (v8.3)

    p6ws2 / localhost / 0002 / p6ws2 (v8.3)

    We have now two different files BREBootstrap.xml.

    P6 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@db1:1521:db1 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass1 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB1"instances ="1"logDir ="anydir, P6EPPM, p6, PrimaveraLogs"/ >

    < / configuration >

    p6ws2 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@DB2:1521:DB2 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass2 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB2"instances ="1"logDir ="anydir, P6EPPM, ws2, PrimaveraLogs"/ >

    < / configuration >

    "P6 Config_DB1" and "P6 Config_DB2" including the property database for the database 1 and 2 respectively.

    How to set up a second web service to return the data to the second database?


    Thanks in advance!


    Kind regards

    Dmitry

    So, answer oracle support:

    Looks like it is in the documentation, Web Services cannot be configured in this way as the other modules. See the following topics:

    BUG 19516437 - Is it POSSIBLE TO hardcode a DEPLOYMENT of SERVICES WEB P6 to an INSTANCE of DATABASE? (ask if this is possible)

    BUG 19579735 - FOR BEING ABLE to hardcode A P6 WEB SERVICES DEPLOYMENT to A DATABASE INSTANCE (corresponding improvement because it can be done).

    The problem has been resolved by the following:

    1 create the WebLogic domain.

    2 P6 and p6ws deployed on managed servers.

    3 configuration P6 uses the second instance of database and P6 has not begun.

    4 result: the p6ws (from additional domain WebLogic) returns data for the second instance of the database.

    Kind regards

    Dmitry

  • HP 7520: HP 7520 - impossible to activate Web Services - tried all of the solutions only in the last forums

    There are so many messages on this error dating yeas.  I tried all.  He used to work without any problems.  I tried the changes DNS 8.8.8.8 and 8.8.4.4, I reset my routers hundred times.  I entered my IP address in my browser and tried in this way.  No matter what I tried my Services Web will not work.  I have reset the factory settings and reinstalled the software on my computer to make sure that what was allowed.  Any other tips or thoughts?  Y at - it a proxy address that I can try?

    Hello

    From your PC, download and install the latest firmware below:

    http://support.HP.com/us-en/drivers/selfservice/swdetails/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5199462/swItemId/OJ-113641-5

    Once done, restart your printer and try to access Web Services, tht sould restore its functionality.

    Kind regards

    Shlomi

  • Photosmart HP 7520: ip address for web services is not on the printer properties

    Printer is a HP Photosmart 7520, I have this printer is installed on computers laptops HP two and two are running Windows 7 Pro.  On one of the laptops (mine), when I click on devices and printers, and then right-click on my default printer that is the 7520, it has three tabs.  The third tab shows 'web services' and has an IP address for what should be the EWS page.  The property intellectual property which are listed there is an old IP address that has been recently changed.  What should I do to update that.  The fact that it is bad does not seem to affect what anyone.  The printer works perfectly to include web and eprint services.  What is also interesting is on my other laptop (of woman) which is identical to mine, the web services tab is not yet here when I click on the printer properties. I passed to the EWS page and checked the network tab.  All right.  I went to the Assistant printer HP, clicked on utilities and used the IP update.

    Hey @DennyC,

    Personally, I believe that if it ain't broke, don't fix it. If everything works as it should, that you have tested and it does, there is not need to change this list in the frame. If you want to try it though, with the exception of my first two ideas you already have tried, uninstall and install the printer is all I can think about. Right click on the printer in devices and printers, and then delete or remove. Run the HP print and doctor Scan to install the printer and check the settings.

    See you soon!

  • Is it possible to enable Web Services for eprint on the CP1025nw

    I use the HP Laserjet CP1025nw

    It is connected to a wired network with a fixed IP address.

    I am using Windows 7 64 bit

    When I click Activate to complete the configuration of Web Services - it telling me to check your internet connection.

    Internet works fine and all other aspects of the printer are working then how can I fill this configuration?

    Any suggestions please?

    Thanks John

    Problem corrected after thank you updated the firmware.

  • How to set the timeout property Web Service partner link in the new version of the SOA Suite, it is missing

    Hello

    I have a use case in which I'll call synchronous external Web Service and the form of this service, I get the answer after 80 seconds.

    I know that this console form EM soa-infra-> SOA Administration-> BPEL proprieties-> under 'more BPEL Configuration Properties..' in SyncMaxWaitTime can I change the default 45 second in 80 seconds, but it will apply to all synchronous services in this area, and I want only the value appeal of Web Service of particular external reference (link partner).

    For the limit of timeout for the particular web service (partner of external reference link):

    I saw a post at < http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes > in which there is an option in 'Link partner Edit' form property tab dialog box, we can add "timeout" property but in SOA Suite11.1.1.7 I am not able to find this property form the list.

    on this post < http://abhishek-soablog.blogspot.in/2010/06/timeout-for-partnerlink.html > is also described the same way, but it's just the source code of the highest way of GUI to set the timeout property and it does not work with a new version.

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    Thank you

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    VR;

    Click em-> composite-> Services and references-> select need to reference and click on-> properties: 'HTTP Timeout of read' and 'HTTP timeout.

    developing composites:

    Click on a reference-> property inspector-> link properties-> plu green and add oracle.webservices.httpConnTimeout with the necessary value and oracle.webservices.httpReadTimeout with the necessary value

    for the same domain defined: oracle.webservices.local.optimization = false

    You can watch

    Administration of Web Services - 11g Release 1 (11.1.1.7)

    How to set a timeout for a Web Service in SOA 11 g (Doc ID 979683.1)

    SOA 11 g: political malpractice not to intercept 'service Endpoint unreachable' error (Doc ID 1503989.1)

  • ADF page call Web Service with several params the right way

    Hello

    I use JDev 11.1.1.4.0.

    I have a web of e-mail notification service which takes 4 parameters, to, subject and body. What I need to do, it's at the end of each "commit", calling this web service to send a notification to a group of viewers telling them a new record has been created. Here are the steps of my work to make it work:

    1. creates a data control of web service using WSDL email notification.
    2 drag - move the control of data on page jspx as a parameter in the ADF.
    3 set the Visible of the presentation of the Panel shape to "False" so that the control does not appear.
    4. in a backingbean where is the 'onSave()' method, I put the code to call the web service.
    // in onSave() method after successful commit
          ValueExpression veFrom =
              efactory.createValueExpression(elctx, "#{bindings.from.inputValue}", Object.class);
          veFrom.setValue(elctx, "[email protected]");
    
          ValueExpression veTo =
              efactory.createValueExpression(elctx, "#{bindings.to.inputValue}", Object.class);
          veTo.setValue(elctx, "[email protected]");
    
    // omitted rest of the params for brevity
    
          OperationBinding method = bindings.getOperationBinding("process");
          method.execute();
    This code works, but I don't know if I'm doing things. For some reason, there is a better way to achieve what I need.

    Thank you very much in advance for your comments francs and suggestions.

    Bones Jones

    Published by: Bones Jones on April 29, 2011 06:44

    Check out this blog of Shay - which describes exactly the same scenario:
    http://blogs.Oracle.com/Shay/2009/07/java_class_data_control_and_ad.html

    Instead of setting the visible property of panelFormLayout to false, the author removes the user interface components unwanted on the page in step 7)

    7. deletion of a component of a page JSF without deleting is mandatory

    Thank you
    Nini

  • Web service call - works locally but not on mobile?

    Hello

    I have a web service call (the service is hosted on the cloud is an external area of permamnent) which works fine when I test locally using the Flex Buritto built in emulator or directly by using my browser.

    But when trying a android phone (tried a few of them - link one, nexus s and galaxy tab) the service is called but never returns anything.

    Is there a good way to trace of call / understand the problem?

    Thank you

    NIR

    Export project based on your device...

    If your developling locally you must do in order to get the remote calls to work

    That should solve your problem

  • Any Web Service stops working when it is deployed

    I change a dashboard application to access a web service rather than using XML. He works in the debugger, but stops working whenever I deploy the HTML/SWF on a web server.

    If I access the HTML from the local file system, it works. (file://path/swf.html) As soon as I try loading from the web server, the SWF file loads, but the call to the web service simply never happens. (http://localhost/swf.html) I used a packet sniffer to look for the call to the web service and I tried to look at the service site. I can see the call when I use the ' leader: ' method or debugging of Flex Builder, but not using the "http:" method.

    I imported the WSDL file, then I use generated code.

    I have the following text in the file crossdomain.xml on the server hosting the SWF file and the server hosting the web service. (I don't think it's necessary to be both, but I'm sick of ideas).

    <? XML version = "1.0"? >
    < ! DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd" > ""
    < cross-domain-policy >
    < allow-access-from domain = "" * "/ >"
    < / cross-domain-policy >

    Here, any help would be appreciated.

    Thank you

    Joe

    Try adding a to your MXML, launch your application in Flex Builder debugging and watch the console for detailed tracing information.

    Have you registered fault event listeners on your service to report the defects?

    If you do not have a remote web service, you must also enable the HTTP SOAPAction request header be sent from domain of your SWF too. See:

    http://www.adobe.com/devnet/Articles/crossdomain_policy_file_spec.html#allow-http-request--de headers

    Pete

  • How to fix 'error message' installation of windows services stops working during the installation!

    Windows Vista Edition Home Premium

    service pack 2

    Toshiba

    satellite A135

    32 - bit operating system

    Hello

    1. Once you get the error message?
    2. What is the full error message?
    3. what program or the application you are trying to install?
    4. have you done any software or hardware changes on your computer before this problem?
    5 is the issue limited to a particular application?
     
    To work on the issue, check the following link.
    How to solve problems when you install or uninstall programs on a Windows computer
     
    See the steps mentioned under Windows Installer issues in the RESOLUTION section.
     
    Check if it helps.
  • My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

    Hello

    I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

    I need to write a login code remote URL to achieve? If so, how?

    So, how can I use this connection object to call the Web service from this URL remotely.

    Please help me out of it...

    Many thanks in advance...

    What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
    Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..
    
    loginButtonField.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field paramField, int paramInt) {
                    WaveServices.getAllCinemas();
                }
            });
    

    Indeed, the question was raised and answered here:

    http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

  • WebWorks app does not work on the device

    I am currently working on the webworks app and then I compiled the app on Mac environtment. My application get not problem with the compilation of the process, but it does not start on a real device.

    My smart phone BlackBerry say: cannot display the file

    Thanks for the help

    @andriansandi

    Solved now

Maybe you are looking for

  • HP pavilion 1233ee g6: split the trackpad now it works partially

    I spilt tea on my trackpad, a few drops was on the keyboard, I cleaned up the trackpad with the fabrics directly, then I used wet wipes to clear something then still tissue leftnow using the mouse pad goes upwards or downwards only, cant go right or

  • Notice of closure

    When you work in Word every three to five minutes, I get a message that says that Windows has encountered problem and needs to close.  Any script behind the window with the message disappears and I have to exit the program and start all over again. 

  • Labels not close enough when stacked

    I'm putting the two labels, one over the other, but when I do they still seem very remote. How can I then closer to each other? Label { text: "Hello World" textStyle.color: Color.create("#868F98") } Label { text: "Goodbye" textStyle.color: Color.crea

  • RV180W SSID Multiple Question

    I hope that simple... I need to set up my RV180W with 2 SSID, which should be for N single and 20 / 40 Mhz (99% of devices on my network are N) and the other should be G only 20 Mhz for these 2 devices that support Wireless-N.  I also need communicat

  • BlackBerry smartphones all my screens message are empty

    So, after trying to separate my messages sms and mms from my work and my personal email, I can access is more no message.  When I click on the message, email, or sms/SMS icon, my phone doesn't respond - if I wait, the screen will turn black and when