How to use a Web Service in an Application.

Hello

I need to create a Web service and a single application.
I already did with the Web service, which is a method that get two studentId strings(name,lastname) and back if exist it, false otherwise. (works perfectly)
The problem is now being implemented in the application that needs to use the Web Service.
The application will have to electro-regulateurs.

Name:
First name:
Submit (Button)

No idea how to begin to do?
Really, I'd appreciate any help!

Thank you very much
Ed

PS. I use 10.1.3.1.0 JDeveloper and Oracle SOA Suite 10.1.3.1.0.

Make a right click you Java proxy class and click on 'create an ADF data control' then you can drag and drop the method in the data control palette in your page and gout as ADF setting form - it will snap into place for you.

Tags: Java

Similar Questions

  • How to use the web service to update the data?

    Hi team,

    Need help in establishing a procedure for updating data using the web service, in the first instance, I think that it's the same reading webservice but I will produce an error:

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    using this tag soap_request.

    < ns1:Request >

    < ns1:header >

    < ns1:InterfaceName > OSMMVNECreateOrder < / ns1:InterfaceName >

    < ns1:InterfaceId > OSM - XXX < / ns1:InterfaceId >

    < ns1:CorrelationId > TEST-06262015 < / ns1:CorrelationId >

    < / ns1:header >

    < ns1:Mvno > MTI < / ns1:Mvno >

    < ns1:orderId > < / ns1:orderId >

    < ns1:orderType > CHANGE_STATUS < / ns1:orderType >

    < ns1:orderDetails >

    < ns1:subscriberId > 9469273 < / ns1:subscriberId >

    < ns1:newStatusId > 2 < / ns1:newStatusId >

    < / ns1:orderDetails >

    < / ns1:Request >

    the < ns1:subscriberId > 9469273 < / ns1:subscriberId > the Subscriber must search and

    < ns1:newStatusId > 2 < / ns1:newStatusId > will replace the current state.



    any suggestion on how to do it?



    Best regards

    Nelz Ki

    There is no difference between calling a web service to write data, against the appellant for reading data. SOAP is SOAP. He cares not.

    Example to interact with a web service is in Re: PLSQL webservice call

    Regarding your error - stack display Tower full of error to see what said the trace of the error. The data you've posted unfortunately no sense to isolate the error.

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • How to consume the web service using PLSQL in 11g

    Hello

    I created a site using jDeveloper, web services which when I put in the web browser and press enter, it will display the settings screen and when I pass the value for the parameter, and then it displays the output of the XML returned by the PL/SQL (called in the Web Service) package. Now, I want to call this webservice in PL/SQL and read XML data and fill in the staging table. Can anyone suggest me how to achieve this functionality by using Oracle PL/SQL

    I use the database 11g and jDeveloper Version :-Studio Edition version 10.1.3.0

    Thank you very much in advance.

    Vijay

    The WSDL file describes the web service.

    To obtain the WSDL, you enter the URL of the web service and add some ? WSDL to the URL. This indicates the web service to return to its definition.

    For example

    URL of the Web Service: http://wsf.cdyne.com/WeatherWS/Weather.asmx

    WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

    When you read (using 'web browser' UTL_HTTPpackage) the XML response from the web service, read as strings (PL/SQL varchar2, size 32 K max).

    You should read the answer as the strings, then writing/writeappend these channels in a CLOB (using the DBMS_LOB package). If you are VERY sure that the web service call ALWAYS returns an XML of less than 32 k, you can skip using a CLOB.

    Whatever it is, read you the response from the web service in the form of text (such as plain text, it is what is sent). The next step on your part is to parse text into an XML DOM (document object model) - and storing the DOM in an Oracle XmlType variable.

    When in a DOM, you can use Oracle XML functions to extract the attributes and values of the key element of the response from the web service.

  • Photosmart wireless 6510 works very well, but how now to enable web services &amp; eprint?

    New wireless photosmart 6510 works well with my laptop (Windows 7) to home & router; How can I activate the web & eprint services NOW? During the initial installation, I was short of time and I think that the antivirus intervened and I don't have a printer email address. He said that I could do it later - how? When I use the Web Services Panel to printer it tells me that I am not connected to the server.

    Is there a pure easy way to add web services now without upsetting my wireless network settings?

    bjhulse22,

    The steps below a usually resolve the problem you are experiencing:

    1. unplug the power cord at the back of the printer.

    2. unplug the power cord at the back of your router (and the modem, if they are separated from the router).

    3. wait 20 seconds, then plug the router (and the modem, if necessary) in.

    4. wait for 30 seconds, then plug the printer back and power.

    5. press the button on the front of the printer ePrint, and it should try to connect to Web Services again.

    These steps usually fix the problem, but if it persists, you can try definition of network information static for the printer (which is sometimes useful to stabilize the ability of the printer to get outside of your network to the internet):

    1. print a Configuration Page from network network printer or wireless menu.

    (Select the wireless icon, select 'Settings', select "Display Network Configuration", select "Print Info")

    2. open a Web browser and type the IP address of product (from the network Page of Configuration) in the address line. The HP - Embedded (EWS) Web server should open.

    3. click on the tab 'Network' (in the top menu), then click on the 'Networking' link (in the left menu), then click on the link "network address (IP).

    4. click on the small round button next to the "Manual of intellectual property", then fill in the fields with the information from the Page of Network Configuration (IP address, subnet mask and default gateway).

    5. under "Setting up the DNS addresses", fill in the fields with the following text:

    -Preferred DNS: 8.8.8.8

    -Alternate DNS: 8.8.4.4

    6. click on the "Apply" button and the settings must be updated. Once the settings are updated, turn the printer off and then back on.

    7. try to reactivate Web Services.

    Let me know if you have any other questions, please!

  • Error downloading pdf application ADF using the Web Service &amp; BI Publisher

    Hello

    I work with BI Publisher 11 g and JDeveloper 11.1.1.7. I get the error when clicking on the below download link.

    I tried the link below and to generate the report in my app, but after clicking view pdf button throw error.

    Antonis Antoniou blog: integration of Web Services in your ADF Application Part 2


    Basically, I want to download the PDF using the Web Service & BI Publisher pursuant to the ADF.

    Someone has encountered this problem before? You have all the solutions / suggestion?


    Thank you

    Swathi

    Have you tried to get the catalog via the service?

    As I said before, there you have catalog you to see you making the user you are using to connect has access.

    Have you tried to give the full url for the report? check out the blog I posted before where you see how to specify the full url.

    Timo

  • Change the password using API web services?

    I can create and update users using Adobe Connect API web services, but how do I change the password of a user?

    I use the API "principal-update" that has a setting of password, but according to the documentation, it is only used for new users... not the users.

    So exactly how to change user password using the web services?

    Hello

    There is an API that can be used to change the password: user-update - pwd

    Format of the API :

     

    http://server_name/API/XML?action=user-update-pwd&user-ID=integer&password-old=string&pass = word string - string verify password = & session = BreezeSeesionCookieValue.


    Hope this helps!

    Thank you

    Nikhil

  • Authentication customized using the Web Service construction

    Our requirement is that we want to create an application that uses the web service for authentication. How is it possible. A how to do this will help.
    We create a Web Service with an applicationLogin method that takes the user name and password input and returns true or false. I want to use this web service to authenticate the application connection.

    Hello

    Ok.
    Can you check Home > Application Builder > application 100 > shared components > authentication schemes > change the authentication scheme
    in the select field Invalid Page Session list
    what page 2.
    Check this page 101 a: APP_USER filled when you browse it.

    It seems that you have created a reference to Web Service manually by copy - paste SOAP envelope?
    And region of SOAP response with field response Collection store
    When you create a Web service reference with the location of the WSDL document, you are not asked for the name of the collection.
    Only when you create processes on submit type Web service on page 101, there is an option to use the collection or the item.

    And if you manually create the Web service, it seems that you cannot choose between the collection and the element, you should use the collection that you specified during the creation of reference.

    Anyway, you can use the collection to this approach to page dummy connection since: APP_USER is populated by anyone on page 101.

    I updated most of the page and creates a Web service reference manually the SOAP envelope (from the same Web service)
    and put the second region with the result. Collection is specified in a Web service reference.

    I hope that will solve your problem.

    Kind regards
    Oleg

  • Using a web services forms

    Dear all,

    I used the following tutorial to use a web service forms:
    http://www.Oracle.com/technology/OBE/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm
    Unfortunately I JDev 10 and can not recover how to create the jar (the tutorial uses JDev 9).

    Can someone help me?

    Thank you and best regards,
    Sébastien

    I don't think that there is a difference between JDeveloper 9i and 10g to create a JAR file.

    File-> New-> General-> profiles-> JAR file deployment

    François

  • How to use a web cam

    I'm a newbie, how to use a web cam

    Hello

    What brand and model is the computer? Let's try clicking Start > computer > and find your webcam to the breast. What happens when you double-click it? You should see some launch software and the webcam lights turn on.

  • Creating form/table layout dynamically using different web services

    Hello

    I have the following requirement:
    We have a web service for each data center device control settings for this device. To update the settings we provide an ADF UI or the form layout table layout by using the web service.
    The number of servers being, it is not possible to create a different page for each web service.
    Thus, the requirement is to create a user interface where the user can give the location of the wsdl file and choose if he wants to see details in a formatting or the table layout and click on the button to view the details,
    Then, we need to read the web service and create control of data bindings, page links (in the binding container) and view the details on the user interface.

    Please let me know if this is possible or not.
    We create data programmatically control? We can add data connections to the container of link programmatically?
    We can make the data on the user interface bindings dynamically? Is there a public API is to create links by programming?

    or if control data and data links option is not available then is there any other alternative approach for it?

    Please help me in this. The pointers in this regard could greatly help me.

    Thank you
    Stephanie

    Hello

    assuming that the information that you provide to the servers are identical, you use a POJO that accesses the WSDL file by using a proxy client. Then, you can expose a common set of attributes on the POJO and list and generate a JavaBEan data control that you can build forms and lists. POJO basically will use you to transform the different web services in a format of individual business service.

    Frank

  • How to use the same services-config for servers the and remote.

    My flex project works very well using the bottom but when I download my flash on the server I do not work, all the files and related paths are the same execpt remote is a linux server.

    <? XML version = "1.0" encoding = "UTF-8"? >
    <>services-config
    < services >
    < id = 'amfphp-flashremoting-service' service
    Class = "Flex.Messaging.services.RemotingService"
    messageTypes = "flex.messaging.messages.RemotingMessage' >"

    < destination id = "amfphp" >
    <>channels
    < Ref channel = "my-amfphp" / >
    < / channels >
    Properties of <>
    < source > * < / source >
    < / properties >
    < / destination >
    < / service >
    < / services >
    <>channels
    < channel-definition id = "my-amfphp" class = "mx.messaging.channels.AMFChannel" >
    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "
    < / channel-definition >
    < / channels >
    < / services-config >

    I think the problem is the line


    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "

    but I don't know how to use the same services-config for servers the and remote.

    I'll back up a bit.

    Breakpoint URLS are defined as follows in the services - config.xml:

    https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure

    The meaning of each of the tokens is clearer when we see them as part of a complete url. If your context root is set to http://localhost , then I have no idea how your application runs in any environment.

    If you leave the server.name and server.port chips in your configuration file, then they will be replaced when executing according to the location from which your application is served. However, the context.root token is replaced at the time of the compilation based on the value that you specify in Flex Builder or when calling mxmlc.

    In order to reuse your file services - config.xml, you must use the same context-root on your development environment and to your deployment environment.

  • How to code in java to use CRM web services

    Hello
    I'm new to CRM on-demand web services. I want to develop a java J2EE application to insert data of lead in CRM on demand. But I have no idea how the wsdl provided by CRM can be converted to a java class so that I can use the APIs provided by them in my program. I use Eclipse Galileo IDE for my java application development. Can someone tell me how to reference the wsdl file in my program or any other way to build my application.

    Please help me.

    Thanks in advance.

    Maybe it's the "plug" you should look for.

    Any account associated user queries/creations - AccountStub
    --> Request: fill AccountQuery, fill AccountQueryPage_Input, call the accountStub.accountQueryPage (input);

    --> Creation: fill AccountData, fill AccountInsert_Input, call the accountStub.accountInsert (input)

    It is the same procedure for the other objects as Contact, lead, opportunity.

    I worked on other web services using Axis2 and "Stub" was one that allows us to connect to the web service.

    Published by: 838315 on March 30, 2011 23:17

    Published by: 838315 on March 30, 2011 23:59

  • Make Image more using the Web Service and Ksoap2

    Hey all, I was wondering if someone can help me with a problem. I use a .net web service that grows on a collection of person objects when a person runs a query from the blackberry phone. To implement this I'm using ksoap2. In my service, I'll send in a string as a parameter. I returned the collection of people that contain the firstname, lastname, address, race, sex. I also try to send a picture. Now, I got this works very well when you do not include the image settings.  In my class on the side of .net in person my class, I have 'image' public property which is a string. I get the bytes of the image and convert it to a base 64 string:

    MemoryStream ms = new MemoryStream();

    System.Drawing.Bitmap.bmp = new System.Drawing.Bitmap (imagePath);

    BMP. Record (MS, System.Drawing.Imaging.ImageFormat.Bmp);

    p.Image = Convert.ToBase64String (ms, GetBuffer());

    BMP. Dispose();

    Mrs. Close();

    Note: in my outings, I see the 64Encoding string.

    On the side of blackberry, I have:

    Byte [] imageArray = ((person) personVector.elementAt (i)).image.getBytes ();

    EncodedImage = bitmap

    EncodedImage.createEncodedImage (imageArray, 0, imageArray.length);

    gridMgr.add (new BitmapField (bitmap.getBitmap ());

    Unfortunately, my number of vector appears as empty and I keep get get a parse error. As I mentioned before, if I remove ownership of the Image on both sides, it works like a charm.  I tried to use just about everything. Any ideas on how to overcome the image using ksoap? I tried to make the image property in the two classes as arrays of bytes, but he had no success. My problem when you use the byte array was in the class of person on the side of the blackberry for the PropertyInfo, that I didn't know what to use (for example STRING_CLASS, OBJECT_CLASS, LONG_CLASS); in any case, neither worked. What do you suggest me?

    I was able to do successfully the bytes of the image the device in the following way in my seriealize class.

    In the getProperty method, I use the following:

    info.type = MarshalBase64.BYTE_ARRAY_CLASS;

  • TEO target (how to use target web)

    Hello

    I want to know how this web objective work in TEO target...

    I want to give the target with the IP address...

    Kind regards...

    You can use an IP address if you wish. The goal of web is meant as a target or WSDL URL. An example might be www.google.com or http://localhost:61527 / WS /

    You can then configure a user runtime if you need to connect to the Web page or no user runtime if you just want to the Web page.

    Then you can run web activities (web services) or http (web USE) queries and do think like the execution of services web or web scraping, etc.

    If this does not help, further explain your use case.

    -Shaun

Maybe you are looking for