Jdev 11 g AD / display objects - updated and complete control of data to the web service

Hi Experts...

Looking for the best approach here.

I hope someone can give me some ideas / advice on how best to achieve the filling of a webservice data control to a view object.

Basically, I created an application traction of data sources by using the ADF BC VO tables I put a command button "Update record", that will open a dialogue with a web service data control.

I hope to be able to fill in the fields of data control, with the values of the selected recording VO.

I'm tipping at this point, I'll have to programmatically?

This is the recommended approach?

Examples of code?

Thanks in advance to anyone who can help!

Simo

Should be similar to this:
http://blogs.Oracle.com/Shay/2011/03/passing_parameters_between_web.html
But the first page should get the data from the original Version instead of Webservice.

Since you use API-PL/SQL in the database to make the update, it may be more efficient to have just a method of AM service that uses the existing JDBC connection / transaction and calls this PL/SQL stored procedure and passes the info of the VO.
See: http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcadvgen.htm#BABEIFAI

Or even take it:
http://download.Oracle.com/docs/CD/E17904_01/Web.1111/b31974/bcadveo.htm#sm0328

Tags: Java

Similar Questions

  • Application of control data to the Web Service parameter takes the form of object

    I sent in a simple web service on an instance of peoplesoft.
    The request message is:
    <? XML version = "1.0" encoding = "windows-1252"? >
    < xsd: Schema container = "http://www.w3.org/2001/XMLSchema".
    xmlns = "http://www.example.org".
    targetNamespace = "http://www.example.org".
    elementFormDefault = "qualified" >
    < xsd: element name = "SSR_CLASS_SEARCH_REQ" >
    < xsd: annotation >
    < xsd: documentation >
    An element of the sample
    < / xsd: documentation >
    < / xsd: annotation >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "INSTITUTION" type = "xsd: String" nillable = "true" / >
    < xsd: element name = "TERM" type = "xsd: String" nillable = "true" / >
    < xsd: element name = "CAREER" type = "xsd: String" nillable = "true" / >
    < xsd: element name = "TOPIC" type = "xsd: String" nillable = "true" / >
    < xsd: element name = "CLASS_NBR" type = "xsd" nillable = "true" / > "
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Schema >

    While the response message has a depth of three levels:

    In jdev 11g (Studio Edition Version 11.1.1.1.0, Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) is available for download on OTN, I perform the following steps.

    Create a Web Service data control using the WSDL, generated from the end TFTP url.
    The data control is created successfully. The problem is:
    -In the mode of operation of the service (in the data control), the query parameter appears as an object.
    -L' entry under the tree of service operation parameter ' parameter '.

    The control of data looks like:

    -< datacontrolname >
    -_parameters < serviceOperationName >
    -parameter
    -CAREER
    -CLASS_NBR
    -INSTITUTION
    -TOPIC
    -TERM
    -< serviceOperationName > (Object)
    -Settings
    -parameter
    -Return
    -return type >

    The return type is fine, with collections in the depth of the tree hierarchy.

    How to create a form of parameter for this data control.

    Find out how it's done in this tutorial:
    http://download.Oracle.com/otndocs/technology/tech/fmw4apps/agile/PDF/adf11g-agile.PDF

  • 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.

  • I have no sound. All the updates and driver controls show "device working properly.

    All the updates and driver controls show "device working properly. When the sound icon is clicked - I see the sliding green scale showing "audio output". I also see the green bar moving on 'Realtek HDMI output' and it is marked as default. Our sound stopped suddenly without reason is apparent. Any help is appreciated.

    When I go to check microphone/video on attached USB camera/mic - I see the two audio and video movement for this device. The computer makes the numbers / noise I just can't hear it.

    Realtek High definition driver is 6.0.1.5789.

    Change the sound Realtek HD audio no audio HDMI

  • Cannot install Creative Cloud desktop update and complete software lost

    Cannot install Creative Cloud desktop update and complete software lost

    Hi Titanouk,

    Besides what % Rajashree 20Bhattacharya suggested you can also make reference to: error "Unable to install" received when installing Adobe Creative Cloud desktop App.

  • Problem of DH handshake with the web service using ColdFusion 7 and 8 after java update 8

    ColdFusion 7 and 8 are provided with a variant of JRE1.6.

    I have a script that has consumed a web service for years with success.  Last week, the web service provider updated their version of Apache and Java on the server java 1.8 (or java-8).

    I could no longer consume the web service once the web service provider updated to Apache and Java and would be the following error DH keypair every time that I try to consume the service:

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

    AxisFault

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException

    faultSubcode:

    faultString: javax.net.ssl.SSLException: java.lang.RuntimeException: could not generate keypairs DH

    faultActor:

    faultNode:

    faultDetail:

    {}http://xml.apache.org/axis/} stackTrace:javax .net .ssl .SSLException: java.lang.RuntimeException: could not generate keypairs DH

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)

    to org.apache.axis.transport.http.HTTPSender.getSocket (HTT... ''

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

    I asked the service provider web, why it would stop working and how we can solve this problem.  They suggested that upgrade to the latest version of Java on my server running ColdFusion.  I did some research and found the problem to be with the amount of memory allocated to the variable containing the encryption key.

    The big problem is when I tried to update java on this particular server (Windows Server 2003), the installation has returned a messaged stating that he could not run on the older operating system and I need to update my OS to install java.

    Does anyone have a workaround in ColdFusion 7 or 8 that you can establish the DH handshake using Java 1.6 on your local server while consuming a web service on a server using Java 1.8?

    Hi, frank000000,

    I know that we had a serious problem with any Java 7 after update 25.  They are off a lot of network permissions and other things, for safety, that used to be available in versions prior to the update 25.  But it's while we were in CF Server 9.

    Since we switched to CF Server 10 (making sure that we got the CF Installer provided with Java 8), we had very few issues related to Java.

    It seems strange to me that the upgrade to 1.8 host while your server is 1.6 would cause problems.  It could very well be something else.  I would like to ask the host for documentation describing exactly how/why their 1.8 may cause interference with your 1.6.

    HTH,

    ^_^

  • How to stop the success recorded by the web service to display two times answer


    I use the HTTP communication to send the entire PDF document to a web service.  I'm not having problems with the actual presentation.

    However, the status message "registered success' that is returned by the web service displayed twice.  Why?

    This is the response from the web service code.

    Context.Response.Clear)

    Context.Response.Buffer = True

    Context.Response.ContentType = "application/vnd. FDF.

    Context.Response.Write ("%FDF-1.2" & CRLF)

    Context.Response.Write ("1 0 obj < <" & CRLF)

    Context.Response.Write ("/ FDF < <" & CRLF)

    Context.Response.Write ("/ status (form successfully registered)" & CRLF ")

    Context.Response.Write ("> >" & CRLF)

    Context.Response.Write ("> >" & CRLF)

    Context.Response.Write ("endobj" & CRLF)

    Context.Response.Write ("trailer" & CRLF)

    Context.Response.Write ("< < / Root 1 0 R > >" & CRLF)

    Context.Response.Write("%%EOF")

    Context.Response.End)

    Thank you

    Diane Asberry

    I've upgraded to Adobe Reader XI and the problem disappeared.

    Thanks for your help.

    Diane Asberry

  • 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

  • several images capture and read their path to send the byte array to the web service

    Hello

    Have a problem when the image capture, the requirement is to open the camera and capture multiple images, and once done it should send the array of bytes to the web service, wrote the class with reader and Video Control of the code and then using the saved file to store image API, but when the user capture multiple images it replaces previous if I keep the path to say dynamic by using the date and time then how I just know what images are recently captured and their path, one time I know that the path of recently captured using new fileconnection images can read the image byte array.

    Hi Nishant,

    find the attached code. In this demo, you will find:

    (1) the use of the listner log file system

    (2) how to move data from one folder to another.

    (3) how to read file system byteArray.

  • How to recover the data pin and a location for visitors to the Web site

    need help

    I'm doing a project with asp.net blackberry

    How to recover the data pin and a location for visitors to the Web site when he pressed the button on the web using asp.net?

    so far, this is the only code that works for me to get a location in a web widget:

    http://docs.BlackBerry.com/en/developers/deliverables/17954/CS_Retrieving_a_GPS_loc_by_using_a_web_p...

  • On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    OK, it's different. These text boxes are (at least engineering point of view) not considered form data, they are annotations (or markup). On your print dialogue box, you will see a group of "Comments & Form". Make sure that the first control is set to "Document and annotations:

    After this change, you should see the markup of your impressions.

  • Update the password for the Web service fails

    Hello

    OIM 11 g R2 (11.1.2.2) does not update the user password using the web services (version 11.1) connector.

    Following Oracle instructions described in http://docs.oracle.com/cd/E22999_01/doc.111/e38352/extnd_func.htm#CIHHJCHA

    In fact, it works in a test environment.

    Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: org.identityconnectors.framework.common.exceptions.ConnectorException: java.lang.IllegalArgumentException: invalid combination of offset/length

    at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:81)

    at org.identityconnectors.genericws.utils.ConversionUtil.typeCast(ConversionUtil.java:247)

    at org.identityconnectors.genericws.GenericWSConnector.update(GenericWSConnector.java:387)

    ... more than 224

    Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: java.lang.IllegalArgumentException: invalid offset/length combination

    at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:100)

    at org.identityconnectors.genericws.utils.EncryptionUtil.initializeCipher(EncryptionUtil.java:108)

    at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:59)

    ... more than 226

    Caused by: java.lang.IllegalArgumentException: invalid offset/length combination

    to javax.crypto.spec.SecretKeySpec. < init > (SecretKeySpec.java:148)

    at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:98)

    ... more than 228

    Enjoy your valuable advice!

    Best regards

    JD

    Resolved:

    Problem solved in reconfiguring connector WS with files bundle good connector - apparently, jars of installation used was not the last!

  • I bought Lightroom from a shop in Switzerland. Setup refuses the activation key, saying that the parcel is a forgery and that I need to contact the customer service. It's Saturday and I would like to install the product by Monday

    Hello

    I bought Lightroom from a shop in Switzerland. Setup refuses the activation key, saying that the parcel is a forgery and that I need to contact the customer service. It's Saturday and I would like to install the product by Monday! Is it possible to do? Thanks for your help, best looks.

    Dominique

    Thanks to you two, John and Kglad, for your responses. I have contacted Adobe and they had me download the package from their website. The problem was apparently with the package on the purchased version. Problem solved.

    Best regards.

  • I have a new macbook pro and want to install CS3 on it. I followed all the download links. Found my serial number for my Adobe account and get up to date through the whole &amp; get this message ' put in place has encountered an error and cannot continue,

    I have a new macbook pro and want to install CS3 on it. I followed all the download links. Found my serial number for my Adobe account and get up to date through the whole & get this message ' put in place has encountered an error and cannot continue, contact adobe customer support for assistance ' all I want is for CS3 to install on my new computer so I can continue to work and do not have to spend hours working it help Please. CC is not an option, because I work in a country with no reliable unlimited internet access

    New computer means new problems of system operating with the OLD software means

    Fix possible Mac 10.10.4 (at least for Premiere Pro) https://forums.adobe.com/thread/1891705

    10.10 mac. ? sometimes has problems, often related to the 'default' permissions that need to be changed

    -solution https://forums.adobe.com/thread/1689788 of a person

  • How to display a PNG image according to the response from the Web Service?

    Hello

    I use the web service XML from Weather.com to get the current temperature, temperature 'feels' and the current condition icon number.  Their service provides many (> 20 I think) which represents the current status of PNG files.  How do I install my script AS3 do basically if... then Else instructions based on the returned value icon?  For example, if the value of icon = 20, then view 20. png on stage?  I need match the value of correct PNG icon and then put that PNG (as a clip?) on stage for a predefined timeline section.

    Thank you

    SID

    Hello

    I also used this API, and I only use cases or conditions in order to retrieve the values and turn them into a file name.

    If you do not use all the available conditions and turning them into an icon, then Yes, you need to do a switch condition.

    But if you want to use them all, them you can simply get the condition number and add the '.png' and call the corresponding file directly. Here you can do a test, just in case the condition / icon does not exist (e.g. system failure any)

    uicondition.source = String (resultXML.cc.icon) + ".png";

    The UILoader is an excellent component for this sort of thing. You can accomplish the same thing with a MovieClip and load an image. It is lighter.

    But then again if you want to resize you would code all methods for that.

    I hope this helps.

Maybe you are looking for

  • Portege M400 - Vista specific management V8.02.00 power parameters

    Laptop M400-170 with Vista OS and the latest downloads from Toshiba. If you open the specific property of Toshiba Vista power management sheet (input shaft = > "TOSHIBA Power Settings V8.02.00"), you will see a property called '' Method of cooling' -

  • HP eprint by email address question

    Is there a way to configure my HP eprint address in Outlook, so I can directly receive documents eprint to Outlook?

  • 8.1 Windows support

    I just spent 2 days and $100 by working with a company whose seat is in India to fix my computer.  First issue was wireless printing.  I have HP PHotosmart Plus, and it has been printing for 4 months.  Then it would not print anything either from the

  • Cannot move the files to the trash - just keeps turning

    Original title: trash I cannot move the files to my trash - just keeps turning... but does not connect. Have tried empty, but said: "to have 0 in the trash.

  • Input language changes randomly

    Sometimes my keyboard randomly change between Norwegian, English and Northern Sami. I'm pretty sure that I'm not accidentally pressing Alt + Shift or one of the hotkeys I put in place (Alt + Shift + 0 to Norwegian, Alt + Shift + 1 to the North Sámi).