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

Tags: Java

Similar Questions

  • How to create a report page by using the Web layout editor

    Hi Experts,

    I use wcc11.1.1.7, I need to create the report page by using the Web layout editor, but in this applet (editor), there are only 3 types of link to the page: local page, external page, query, it must be of type of the active report (historical), why I can't see them? y at - it components should I activate this?

    Best regards

    It doesn't have to be in the link on the Page, but in the Page Type.

    See the documentation for http://docs.oracle.com/cd/E28280_01/doc.1111/e26694/e02_weblayout_edit.htm#i1068085 for more details.

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

  • 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

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

  • 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

  • Find / create / update using the Web service data command.

    Hello

    I'm working on PS2 (JDEV 11.1.1.3). One of the requirements is to build Web services from ADF pages. Initially the user connection is looking for items. The results would then be displayed as a read-only table. The user will select line clicks on the button "edit / update" then I need see the second page with the details of record selected as a form. Then he can add / edit the page. The same page is also used to 'create '. I am facing issue while the user selects the record in the table Details the research and passing the Id on the second page of the update of the. Can someone help / guide me.

    I went through the blog of Shay. http://blogs.Oracle.com/Shay/2010/05/updateinsert_with_adf_web_serv.html
    But it's different compared to my needs.

    Enjoy your entries.

    Thank you
    Mahesh

    I don't see exactly how have more fields influence the approach.
    If you are looking for a shortcut, you can try to drag the operation of fusion, as a form of parameter ADF - this will create all the fields for you. And then you will need to go in and change their value to point to the pageFlowScope object.

  • creating style table of dynamic materials &amp; sorting of entries...

    Hello world

    We have created the command script to generate multiple files inx artlink reports to a text file. Finally we have to sort alphabetically. I tried with the concept [myArray.sort ()] before writing in the text file. It works but it first sorts the letters and then it sorts the lowercase of each input. For example,.

    Table sorting But wait

    Apple.EPS

    Banana.EPS

    Candy.TIFF

    Apple.EPS

    Banana.EPS

    Candy.TIFF

    Apple.EPS
    Apple.EPS
    Banana.EPS
    Banana.EPS
    Candy.TIFF
    Candy.TIFF

    Can someone look into this and help for me. Or help me to query below.

    We can settle this report perfectly with InDesign TOC options. I tried to create the style of table of contents through javascript, but I'm unable to do so. Can anyone suggest me how to create style table of contents (with a paragraph style and sort entries in alphabetical order option) or how to import another document TOC styles using javascript.

    Thanks in advance.

    Indana

    That's what JS using said of table-> sorting:

    Sub sort (userFunction: Function)
    Sorts the elements in the array in place, using the given function to compare elements.
    If no function is provided, the elements are sorted alphabetically. Not return a return value.

    Parameter Type Description
    userFunction Function A function provided by the user in the form of userFunction (a, b) that returns less than 0 if a is greater than b, 0 if a and b are equal and greater than 0, if b is greater than one.

    As it is said, the default behavior is to sort alphabetically - and hence they must mean "in ASCII order. What you need is a custom sort routine. A few more string manipulations, I come to this conclusion:

    var myArray = [
    "Apple.eps",
    "Banana.eps",
    "Candy.tiff",
    "apple.eps",
    "BANANA.Eps",
    "candy.tif" ];
    myArray.sort(function (a,b) { return a.toUpperCase() == b.toUpperCase() ? (a < b ? -1 : a > b) : (a.toUpperCase() < b.toUpperCase() ? -1 : a.toUpperCase() > b.toUpperCase()); });
    alert (myArray.join ('\n'));
    

    that sorts correctly the case independent table.

  • problem in the use of Web service in my App ADF

    Hi, OTN

    I used this tutorial http://www.oracle.com/technetwork/testcontent/wsdc-085537.html to have a webservice in my ADF Application that returns as weather application.i used Jdeveloper 11 g 11.1.1.3.0. by following this tutorial that I could get the weather Info.but the first time I run my page or the first time I press the button getWeatherBy name after writing to the square there is an error message as follows

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: error occurred when get webservices record---> System.Data.SqlClient.SqlException: procedure or function 'GetLatByPlace' expects the parameter '@ZipcodeName', which was not provided. at System.Data.SqlClient.SqlConnection.OnError (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning () at System.Data.SqlClient.TdsParser.Run (RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData () at System.Data.SqlClient.SqlDataReader.get_MetaData () at System.Data.SqlClient.SqlCommand.FinishExecuteReader (SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds (CommandBehavior cmdBehavior, Boolean async, runBehavior RunBehavior, Boolean returnStream) to System.Data.SqlClient.SqlCommand.RunExecuteReader (cmdBehavior CommandBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader (RunBehavior runBehavior, CommandBehavior cmdBehavior, Boolean returnStream, method String) at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior, method String) at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior) at WeatherService.WeatherForecast.GetLatLonDataByPlaceName (String PlaceName) - end of the stack trace of inner exception - to WeatherService.WeatherForecast.GetLatLonDataByPlaceName (String PlaceName) at WeatherService.WeatherForecast.GetWeatherByPlaceName (String PlaceName) - end of inner exception stack trac

    When I press ok for this error Message.I can write the name of the place and had Info weather, so how can we stop this error messages that appear on each first time user call the weather page?

    Note: in the tutorial, I noticed that he has explained that there is an Error Message will appear (on the error window click OK.)

    Published by: Miar on 13 October 2010 06:03

    The scenario of the tutorial indeed translates this strange behavior.

    Note, however, that if you create a new page where you first drag the GetWeatherByZipCodeResults as a form, then drag the WeatherData in the form of a table and set the condition of all executables refresh to #{bindings. {ZipCode.inputValue not null}-page behaves as expected and only communicates with the Web service that there is a value in place.

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

  • ADF Mobile | using secure web services


    Hi all

    I'm pretty new to ADF Mobile, I use JDev 11.1.2.4.

    In my Mobile application I want to use the secure web service.

    Here's what I do:

    1. creation of a data control based on the WSDL binding.

    2. get the web service methods in the data control.

    3. during the race, I'm getting that error "oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client from server SOAP fault: Missing < wsse: Security > in the SOAP header.

    When trying to run the WSDL binding in SOAP UI, I need set request username and passwordproperties, then only I will be able to invoke this web service.

    Here, my question is where can I set these properties for the data control to the web service ?

    Please suggest.

    Thank you

    Vieu

    Hi Shay,

    Thank you very much for the reply, I'm able to resolve the problem with the approach mentioned user guide.

    I forgot to set it up for the first time: ADF Mobile allows you to specify a custom provider class in your DataControls.dcx file. This custom class extends oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider . You can use it to specify an implementation of the SoapHeader[] getAdditionalSoapHeaders() method

    Example 9-1 shows how to extend the SOAPProvider and create a custom header has shown in example 9-2

    package provider.ebs.soap;

    Import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;

    Import oracle.adfinternal.model.adapter.webservice.provider.soap.SoapHeader;

    SerializableAttribute public class EBSSOAPProvider extends SOAPProvider {}

    SoapHeader public getAdditionalSoapHeaders() {}]

    SoapHeader header [] = SoapHeader News [2];

    SoapHeader token = null;

    SoapHeader user = null;

    SoapHeader pass = null;

    header [0] = new SoapHeader ("http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/",

    "SOAHeader");

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "Responsibility."

    'SYSTEM_ADMINISTRATOR'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "RespApplication,"

    'SYSADMIN'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "SecurityGroup."

    'STANDARD'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "NLSLanguage,"

    'AMERICAN'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "Org_Id."

    "0"));

    header [1] = (new) SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    'Security');

    Token = new (SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    "UsernameToken");

    User = new (SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    "Username."

    "sysadmin");

    pass = new (SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    "Password."

    "sysadmin");

    Header [1]. AddChild (Token);

    token.addChild (user);

    token.addChild (pass);

    Returns the header;

    }

    }

    Kind regards

    Vieira

  • Use the web service to invoke a new process execution

    Hello
    I use BPM 10 g 3, and I'm calling a process entirely automated via a web service
    I install my name http:// < host >: < port > /albpmServices/ < web service engine > /ws/ < process name > ServiceListener? WSDL

    I accessed from a c# application, that I have written and visual studio report my functions and others.
    I can start a new session (startSession (string password, string username) and I get sessionID) with the process of the web.
    but when im trying to call my own function (which is defined in the web service of process as a running process on my beginIn settings) I get a reply with a FaultException without visible error code.

    The newspaper of BPM, I can see the following lines:
    (1) call service with id: < process name > ServiceListener
    [2) article of delivery: IMMEDIATE Inst [-1, -1, -1] Act [no activity] Proc [No. process] Due 1318860646000000]
    (3) TransactionAction: Rollback!

    While the TransactionAction: Rollback! means that something bad happened, I don't see the reason.

    any idea?

    OK I got it to work.

    I did all the things you suggested before, but when you said I need to see the right activity will be started, I understand what is wrong

    The activity chosen must be in an alley with the same role as the connection of the user in the session.
    So I added a role on Begin and created a part for this role, connected with it and now it works =)

    Edit: I'm the same guy who has opened the threqad, just need to make a new user for assistance to business (do not have to use it)

    Published by: 891957 on 23:59 10/17/2011

  • Sent using the Web service object is null

    I have a running in JBoss Web service. He's just a "getperson" and "addperson" methods getPerson takes an integer and returns a Person (java) object. My flex code is fine with that. Then when I try to call the method "addPerson" webservice (from flex) the Java code that is called seems to be only partially filled. For example:

    Flex:
    var p: Object = new Object();
    p.firstName = textFirst.text;
    p.lastName = textLast.text;

    var ws: WebService = new WebService();
    WS.wsdl = " http://localhost: 8080/MyWebProject/person?" WSDL";
    ws.addPerson.addEventListener ("result", handleResult_addPerson);
    ws.addEventListener (FaultEvent.FAULT, handleFault);
    ws.loadWSDL ();
    ws.addPerson (p);

    Tell the textFirst and the textLast have "Bill" and "Gates".

    Java:
    the implementation of web service method
    public int addPerson (person) {}
    System.out.println ("person added:" + person);
    If (person! = null) {}
    System.out.println ("first:" + person.getFirstName ());
    System.out.println ("last:" + person.getLastName ());
    }
    }

    In the JBoss console output when "addPerson" is invoked is:
    Person: Person@40280923 (something like that)
    first: Bill
    last: null

    Any ideas why?

    too bad, I guess. It seems that Apache CXF (the thing I used to create my webservice) servlet Gets the SOAP message with all the values that I expected. Must be a problem on the side of CXF (server) of things.

Maybe you are looking for

  • How to recover data from the browser tabs?

    Hello I am trying to retrieve data from the Firefox browser by dragging the tabs in a Windows/Mac/Linux application. Specifically, I was hoping to capture medadata HTML and video current time (for example, 01:23 05:00) YouTube pages for storage off f

  • HP Officejet 7310xi all in one: printer keeps repeating transport jam

    My printer do not print and indicates a carriage jam and told me to open the door and a cart clear jam but there is nothing there, and there is no paper jam. I tried to unplug the machine, its restart, restrting my MAC and the message still flashes.

  • I changed my real account name, now I can't sign in to Family Safety

    I use Windows 7. I have a Windows Live account that I used to set up a parental control account. I changed the name of the Live account and now I can't connect to the account of the safety of the family, because he wants the old account name and won'

  • How do I connect the monitor 3 on Windows XP

    We want to install a third monitor on a desktop with Windows XP.  We are currently implemented with two monitors.  Tried upgrading to Win 7 with the new video card & disaster struck.  Went back to XP.  Some configurations or hardware I should look at

  • Navigator hierarchy - add in DIFF on ExistingHierarchy

    A specification of formulation shows its relative childern, but it also shows a second point of entry level in the tree of high level. For example:formula a.Form L BL Ingrident CForm L CThe Ingrident hasL Ingrident C (his watch at the formula one lev