Implementation of the Web Service on Blackberry

Hello

I am new to web services so now I want to know how you can hit the web services via the blackberry app?

Y at - there no web service sample I can use to test the object.

In fact, I want to know the implementation of the web service on blackberry.

Please provice me useful links and resources.

What is KSOAP2 in blackberry?

I think there are 2 ways to use web services

1 http

2 SOAP

I want to know the two tests.

Please help me.

Sorry for non trivial stuff like this there is nothing like "sample code" of my side - I work in a business environment, not as a developer open source.

Tags: BlackBerry Developers

Similar Questions

  • How to call the web service in blackberry sdk 3.6 using eclipse


    Hello

    I said it

    His work very well when I run as html in the browser IE.

    while I try to run in webworks, it gives the error.

    Thank you

    Barro

  • BlackBerry - how to pass the credentials to the Web service

    I'm creating a blackberry java application. I have the Web service that is running on a server. It has a few references like username, password. I want to call this web services but not idea where can I put this identification information.

    Any idea.

    the webservice call itself requires credentials? You can generally use basic http authentication then.
    or the service method Web requires username/password? Then set you as attributes in the connection method.

  • HP Photosmart 5520 - problems with the connection to the web service

    Hi, I'm trying to run the web service on Hp Photosmart 5520, but it does not work. Wireless printing works well, but he says that it cannot connect to the server and sometimes requires adding a proxy.

    I've set up a fixed IP and I used it in the IP (manual ip) configuration, I've implemented manula and gateway subnet mask (using the address of my router). I used the same primary DNS preferred (but also tried 8.8.8.8 and others)

    No question.

    Currently, I removed all of the proxy page. The error I get says that it cannot communicate with the server.

    Thanks in advance

    .. don't ask me what happened... while I was writing this worked
    Thanks anyway

  • Problem with the web service call

    I use ajax with json to call webservice but its not working with the localhost url in the emulator of the ripple. If I use an ip address or external url does not call the webservice.

    I also tried with BlackBerry, webservice does not.

    can someone guide me how to call the Web service?

    Thank you

    Sundaram

    Your file config.xml needs the ip address or the url in the "whitelist".  Use the access for that tag.  for example:

    
    

    The piece above is not secure because it whitelists ALL------* areas.  You can put your url in the uri.

  • Dynamic LOV with data to the Web Service Control

    Hi all

    I am currently working on JDeveloper 11.1.1.9.

    I want to implement a form of creation, for two of my form fields do correspond to LOV.

    The first is a LOV returned by a method of the web service (see back picture1) call, it works perfectly (see picture0).


    picture0:

    Capture1.PNG

    The other is represented by the nested list of the object returned by this method ( see picture1to taskPurposeList).


    Picture1:

    Capture.PNG



    By choosing a value in first af:selectOneChoice , I want to access the nested list in the second af:selectOneChoice.

    I have tried to map the second field directly to this list, but it is not updated (see image2).



    Capture2.PNG


    You have an idea on how to apply it?


    Thank you very much


    Leslie

    Hi all, sorry for taking the trouble,.

    I finally found the solution after several days of reflection and try.

    It is, when you select a value in the select list is not to update the current row of the iterator.

    Only, I've defined the current line of my iterator (mapped to the first list) parent according to the selected code in the list and update the second list like this:

    DCIteratorBinding taskTypeLOVIterator = ADFManagedBeanUtil.findIterator ("TaskTypeLOVIterator");

    Rank [] allRows = taskTypeLOVIterator.getAllRowsInRange ();

    for (line: allRows) {}

    {if ((Row.GetAttribute("ID").) {(Equals (valueChangeEvent.getNewValue ()))}

    taskTypeLOVIterator.getRowSetIterator () .setCurrentRow (row);

    }

    }

    AdfFacesContext.getCurrentInstance () .addPartialTarget (soc2);

    Setting the current row of the iterator parent automatically updated the second list.

    Thank you

    Leslie

  • How a value is to consider the change of dblink to the web service?

    Implementation of SOA and OSB, how a value is to consider the change of dblink to the web service?

    Where I work, there are a large number of dblink between databases. Some dblinks are intended to be the way to load the immense amount of data while others exist only to simple queries.
    I wonder if it might be better to use web services as dblink. In principle, I think that simple queries may be suitable as a web service to improve reuse and governance but I find web service not apropriated for loads of data.
    Obviously, the decision is more complex that just think tecnology. Despite this, it will be useful to hear if there are people around the world think about change dblinks to web services the same load so heavy querys with a small amount of data to be trafficked and this as the principles, models or reasons behind this decision.
    Basically, we are implementing SOA and OSB and I'm looking for the best I can to rethink the way we used to do it so far. I heard from a friend of mine that we must avoid using dblinks and use only the web services. This seems strange to me because I wonder what level of overloading by the net, that we will face. Could someone give your personal opinion or propose an article? There are some pros and cons, formerly on this review?

    966355 wrote:
    My question is: wouldn't I tend to turn the worst of communication when I change the dblink in scenario 1 and even more terribly worse in scenario 2?

    Yes, this is a drawback... You can't get better performance by adding more load, unless you bring better infrastructure...

    One more detail: in scenario 1, there is a high probability to be reused by other systems.

    It is one of the beneficial results you have to weight against your disadvantages...

    In scenario 2, it is not reused, but we need to audit and traceability of the integrations like this.

    This scenario looks more like ETL integration... It's a bulk data loading, you can take a look at ODI - Oracle Data Integrator (ODI is also part of the Fusion Middleware)

    In my view, the main issue is to have systems so closely coupled... Systems get older, they get out of support, seller will declare a version is end-of-life, then you need to update. The system vendor has don't might not mind system B accesses its internal tables, but if they decide to change the internal database on the next version, they do... And then you're stuck with the vendor and version...

    I hope this helps...

    See you soon,.
    Vlad

  • Data custom provider to invoke the Web Service

    Hello!

    When an order is created in OSM we invoke a Web service from the drive section rule of data via a data Instance in the component of the system of recognition of orders. In this way, we could produce a plan of orchestration that evaluates the information returned by the Web service.

    So we did research on data providers in the developer's Guide that says "a data custom provider when the provider is a class is part of the Design Studio project developed as part of a solution. It must implement the provider com.mslv class. oms.view.rule.ExternalInstanceAdapter interface.

    in the javadocs that we refer to the Interface ExternalInstanceAdapter, we find the details of the method:
    org. W3C. DOM. Element retrieveInstance(ViewRuleContext context, < java.lang.String, java.lang.Object > java.util.Map parameters)

    The developer's Guide also found that compiled class adapter must be added "the file in archive customization.jar oms.ear application" because it is necessary to decompress the osm.ear

    In this search for information I have do to reach my cartridges PIP research objective more precisely the 'CommunicationsSalesOrderFulfillmentPIP' project and found there a Custom Data provider exactly like 'OsmWebServiceAdapter' required and class of supplier was "com.mslv. oms.view.rule.adapter.OsmWebServiceAdapter "which is not found in the project, so I guess it should already be part of the file oms.ear.

    If anyone could tell me where to find the class that implements the data provider, I would be grateful if you could help me, because I have concerns on how to implement the method that I outlined in the javadocs and make the call to a web service.

    Thanks in advance.

    AndresG.

    Hi Andres;

    In your example, the $reuso contains the response to the web service operation, you call. $reuso will be the element to response document root (for example, the item: soap envelope). Yes, $reuso / soap: Body will be the body, etc. Note that you declare all your namespaces in xquery, you need to reference to navigate in your response to your element of document. Note that the element don't have a namespace, so this will make it a little more difficult navigation - better if possible to ensure that this item also has a name space as well.

    As for the source of your error, I suspect it's because you're trying to put all the contents of the soap envelope: in the ReusoInfraestructura element. Unless ReusoInfraestructura is a type of OSM XML component, OSM validation will fail because it does not meet the requirements of this type (only XML elements may themselves contain elements). Is there more information in the about the error stack trace?

    Brian.

  • air application connects to the web service although swf don't

    Hey there,

    I will try and be brief. We built a kiosk application in flash builder a pure as3 project. When we went to convert it into an air application all seems fine except for two issues. one is that we cannot use the Security.allowDomain("*"); Tagus. not much we comment on this possibility, but when we do we cannot connect to the web service that we use. Here is the error msg that we get:

    URL http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid = 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    ioErrorHandler: errorProductId: WebApplicationException

    ioErrorHandler: currentTarget: Error #2032: error in workflow. URL: http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid =. 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    Here is the error of charles:

    < error >

    < > 103 errorCode < / errorCode >

    types of arguments < message > Incorrect or combination < / message >

    < errorDetail > WebApplicationException() < / errorDetail >

    false < success > < / success >

    < / error >

    now, if we run just the swf file it connects very well. the only reason I need this app to be in a wrapper of the air is so that I can remove the print dialog box. otherwise, I'd create just an exe file.

    any ideas would be great!

    Thank you

    OK, found the problem!

    When we built the as3 project and we implement web service calls, we used post from get we caused problems. We have been connecting to a service of qa so that may have something to do with it. In all cases, we have changed the headers in the air application to get and it seems to work fine. Why would he works in the SWF and not the air who knows, but there are go!

    Thank you

    Jorge

  • How can I fnd my claim code and the reprint of the web services information sheet

    Hi, I have a HP Deskjet 3520 and try to put in place the eprint.  I read the suggestions on the forum and the FAQ but I can't locate the web services information sheet I need to reprint for claim code.

    Could not find anything under Printer Control Panel either. Please advise!

    Thank you!!

    Hi Chris88,

    Welcome to the HP Support forums.  I appreciate that you try to configure the ePrint on your Deskjet 3520 printer feature.

    If you have the inkjet printer Deskjet 3520 with a C8994 product number this printer does not have the ePrint service.  The Deskjet 3520 printer only has USB connection and ePrint to function the printer must have an independent internet connection through a wireless or a wired ethernet network.  I've included the specifications of the printer for your reference.

    If you have the e-all-in-one printer Deskjet 3520 then we obtain the claim code.  You can request the information sheet of web services from the front panel of the printer, and there the claim code printed in blue. Instructions on how to get it can be found in the section titled "to print a document using ePrint' in your on page 15 user's guide.  Please follow the instructions in step 1.

    HP Deskjet 3520 inkjet printer specifications

    User's Guide e-All-in-One Series HP Deskjet 3520

  • Impossible to activate the web services photosmart7515

    On the web services on my printer I get

    e-mail connection error

    ePrint connection error

    Web services connection error

    What can I do?

    Hi Catjoy36,

    Thanks for the reply.  It seems that we have to take steps more.  Follow the steps below, and once you complete the steps, then you can follow the steps above.

    1. go in the front panel of your printer.

    2. Select the icon wireless on your printer.

    3. Select settings.

    4. highlight and select restore default network settings.

    5. click OK to restore default values.

    6. now, select Wireless and go through the wireless configuration wizard.

    Let me know how it goes.

  • Unable to connect to the web services server

    Unable to connect to the web services server.  It is a common error that you might see if you try to enable web services.  If you receive this message, try the following steps.

    For Officejet printers

    1. open the internet browser type printer IP address.

    2 should bring you to the status of the printer page.

    3. Select the tab network at the top.

    4. left side select IPv4 under wireless.

    5. under DNS address Configuration select manual DNS server.

    6. for favorite enter 8.8.8.8

    7. for alternate enter 8.8.4.4

    8. Select apply. You can get a warning saying that this could break the connection which is very good.

    9. turn the printer off for about 30 seconds and then try to enable web services.

    For Photosmart printers

    1. Enter the printer's IP address in a browser.

    2 Select the network at the top of the page.

    3. on the left, select network.

    4. Select Network (IP) address

    5. select manual DNS server

    a. manual Preferred DNS should read 8.8.8.8

    b. alternate DNS server should read. 8.8.4.4

    6. Select apply you could get a fair warning select OK

    I hope this helps!

  • Unable to connect to the Web Services Proxy/unused (a HP 7500 JO)

    Hello

    Here's the situation:

    Previous installer:

    .  I have connected my 7500 for the corporate network (IP = 172... series)

    .  registered the product with ePrintCenter

    .  used a PC under Windows to print (and scan) with the printer

    .  web proxy entry "webproxy.phila.gov".

    .  However, because homeland security rules, I could never work, so I just let it go

    Current situation

    .  has taken the home printer and set up on my home network, i.e.,.

    -using the 192.168.xx.xx series

    -Router broadband Netgear ' G' (1 years) set up at the 192.168.xx.254

    -SSID & encryption assigned

    -printer, the value 192.168.xx.155 (static IP address, the subnet and the gateway assigned as well)

    -My DNS is identical to the bridge and it works fine for all the internet access to this day

    -with the help of a PC and a Macbook Air to print and scan and everything works fine

    .  HOWEVER,.

    -Initially, 'web services' were active (carried over from when I was on the company neetwork?)

    ..  Are looking for, found and downloaded updates

    -When I went to hp.com ePrintCenter he showed the product as 'registered '.

    ..  He would'nt I would like to connect (with a name and a password I had used previously), or create a new account

    ..  I never remember getting an email address of the printer

    ..  and I had never been able to send anything to the printer to print because of my problem of network security

    -Yes, after trying all sorts of things, I:

    ..  I tried to get another email without success

    ..  tried to re - enable web services, but he said I need to 'proxy', and I discovered that he had always "webproxy.phila.gov."

    ..  I have reset the values by default web services and network values

    ..  I put the static IP address return address in (i.e., printer, subnet and gateway (it has nowhere to put in a DNS one))

    ..  printing and scanning to 192.168.xx.155 works fine

    ..  From my iPad AirPrint works very well

    .  BUT, I still can not online and therefore web server, web services are not enabled, therefore not ePrint

    -everytime I try, it says it needs a proxy

    - but I don't have a proxy installed on my internal home network bit

    -Comcast/Xfinity, my ISP, do not use a proxy

    So, I'm dead in the water.  I can't figure out how to get the web services enabled; I do not use a proxy, so I don't know how to go beyond this issue. How to regenerate address of the printer; and so, how do I connect an account on the ePrintCenter (or get them to send me my old account information).  I'm dead in the water and cannot use a feature most of my printer that I desperately want to be put in place and functional.

    Any help would be greatly appreciated!

    Tommy

    Problem solved, but I don't know exactly how I did it. However, I went back in and let the printer assign the IP address. Then I turned the printer off and on again. Last I kept pressing the button "Printer e-mail address", who has repeatedly failed, but then finally went through and print the 'printer' page, I quickly used to connect to the ePrintCenter and put everything in place.

    Now it's working.

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

  • The Web Service of LabVIEW error on restores model ESP

    Hello

    I was hoping that people would be able to help with the following problem:

    I'm currently on the Page Embedded Server (ESP), functionality of the LabVIEW webservices script and keep receiveing an error when you try to view a page.

    I think I put in place the Manager HTTP queries properly - buffered stream with headers

    The correct model is located and used as the page reaches the insertion point variable esp.

    I find that the AddressBook example works fine, unless I try and add an additional variable to the model, then the same error occurs.

    I have attached a sample project which shows the same behavior, and the error is less.

    Tested on LabVIEW 2014 (14.0.1 SP1) 32-bit on 64-bit Windows 7.

    See you soon

    John

    *****************************************************************************************************

    Error-67035 occurred at .vi NI_WebServices.lvlib:Error Converter (ErrCode or status)

    Possible reasons:

    LabVIEW: The Services Web of LabVIEW (Hex 0xFFFEFA25): error in the ESP.

    «"" "String of full appeal:»»"»
    NI_WebServices.lvlib:Error Converter (ErrCode or status) .vi
    NI_WebServices.lvlib:Web Request.lvclass:Render ESP Template.vi
    Test.VI
    Test.vi.ProxyCaller

    *****************************************************************************************************

    Hi John_Neutron,

    I worked on your code today and we managed to reproduce and to fix the error you saw.

    The Web service name ESP file and rendering the page, but it throws the error because the variable you are trying to set was not properly declared. We managed to make the error go away by changing the file text with Notepad like this ESP.

    --------------------------
    <%
    //This is a server side comment
    // Variables:
    var myvariable;
    //
    %>


    This is the test pattern



    It's the body:

    Here's the varaiable


    Variable: @@myvariable


    ---------------------------

    Before, you had / / in front of the variable (making a comment) and you don't have "var" to tell him you have said anything (it's all in the 4th line). Without the appropriate statement, the code generates an error when it is called.

    Vsenior

Maybe you are looking for