Shares of personalized service with java methods

Hello!  I need a hand on a creation of a personalized service and the correct way to trigger the Java methods that I want to execute following call for this service.

This service must have 4 methods of java, each of them would run based on the parameter I want to send.

For example, if I call the service EUM_START_APPROVAL_PROCESS with the parameter "WFSTEP = START" ("myserver" / idcplg?) IdcService = EUM_START_APPROVAL_PROCESS & WFSTEP = START), I need to run the 'javamethodSTART' method and none of the other methods!

< b >

< td > < table > EUM_START_APPROVAL_PROCESS

DocService < td >

32

null

null

value Null < br >

Failed to retrieve the query provider page. < table >

3:javamethodSTART:0:null < td >

3:javamethodAPPROVE:0:null

3:javamethodREJECT:0:null

3:javamethodEND:0:null < table >

< /tr >

What is the correct syntax, I need to use in the field of actions: "3:javamethodSTART:0:null."

Thank you very much for your help, I tried to read the news online, but can't find the solution I need (or perhaps missed somehow)!

Anya

Use a Java method in your service definition. It is a Java method that determines (based on the parameters that you pass) which of the 4 methods to call Java.

Jonathan

http://jonathanhult.com

Tags: Fusion Middleware

Similar Questions

  • HowTo: Define and provide a personalized service with disjoint / port range.

    I have a rv180 and I'm trying to implement a custom service that contains multiple ports two disjoint (some UDP some TCP), as well as a range of TCP ports. This has lead me to a few questions.

    (1) is it still possible to have a unique personalized service with disjoint ports? He'll just have to set several partial service for this?

    (2) is it possible to forward a port range? How to define a service with a range of ports, it is clear, but port forwarding interface table only allows me to select a LAN port side for any service. Is there a secret notation that I do here which will be just forward to the same port LAN side as port WAN-side - NAT effectively a transfer, but just for the selected service?

    Thank you

    Luke

    Hi Luke,.

    (1) Unfortunately, it seems that you have to implement services customized for each set of disjoint ports and then create rules of transfer for each custom port.

    (2) I'm not 100% sure that I follow your question, but I think I got the essential. Port forwarding will forward traffic on the specific port (service) of your wan IP public designated private IP (destination IP) address. You can restrict the access of calendar or IP ('source to users' - by the host or the beach). Because looks like you have several customized services, you must create a configuration for each service of port forwarding.

    I hope this helps.

    Best,

    David

    Please evaluate the useful messages.

  • [JDev 12 c] How do I imply a Web service (with authentication) method?

    Hallo,

    in my merger ADF Web Application I have to call some methods of a REST Web service, but I have no way to have the WSDL or w.

    I only know the URL of the container methods and the name (and parameters) of each method.

    How can I call the webservice methods in JDeveloper?

    The RESTful Client and Proxy JDeveloper component is not useful for me: he needs the URL of the WSDL/w but, as I said before, I did not.

    I also tried to use JDeveloper Webservice data control , but I had problems configuring.

    Would you kindly suggest me a way - also in pure Java (so without using a component JDevelpoer) - to call a Web service method and read his answer?

    The Web service needs to the authentication of the client so I would like to know also how do I do the authentication (username + password) by programming.

    Many thanks in advance,

    Federico

    Hi - I did using this approach: https://blogs.oracle.com/imc/entry/adf_mobile_the_specific_of

    If you need to pass the security credentials, see: http://blog.teaminformatics.com/tag/mobile-application/

    Rich.

  • Flex with Java - DB data access

    Hello, people.

    I developed a Java application and realized that I need some advice. My request is simple:
    I have a MSSQL, tomcat 5.5 server, flex data services.

    In my application, I have two areas of combo... country, city...
    I filled the combobox countries with the values of the DB (country table) obtained using the fill (list ListArgs) in the assembler class.
    Now, according to the selected country in forced to fill my city combobox (city table)
    How can I fill combobox city from the database based on the country code?
    Y at - it a function to pass the selected index and fill the list box drop-down town... ???

    My code is as below:
    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >
    < mx:DataService id = "ds" destination = 'quick-search-countries' autoCommit = 'false' autoSyncEnabled = "false" / >
    < mx:DataService id = "tds" destination = 'quick-search-city' autoCommit = 'false' autoSyncEnabled = "false" / >
    < mx:ArrayCollection id = "cntry_list" / >
    < mx:ArrayCollection id = "town_list" / >
    MX:Panel layout = "absolute" backgroundColor = "#c6daf5" horizontalCenter = "0" "0" = red >
    < mx:Form id = "SearchForm" >
    < mx:TabNavigator >
    < mx:Canvas label = 'Hotel' width = '339' height = '234' backgroundColor = "#ffffff" >
    < mx:Label x = "10" y = "91" text = "" country: "alpha ="0.12"/ >"
    < mx:ComboBox = "93" x = "89" fontSize = "10" id = "Country" dataProvider = "{cntry_list}".
    labelField = "countryName" creationComplete = "ds.fill (cntry_list)" "
    change prompt = "TDS. GetItem (Country.SelectedItem)"="United Kingdom">
    < / mx:ComboBox >
    < mx:Label x = "10" y = "126" text = "' town / city:" fontFamily = "Georgia" alpha = "0.12" / > "
    < mx:ComboBox id = "City" x = "94" y = "124" fontSize = "10" dataProvider = "{town_list}".
    labelField = prompt "name" = "London WC1" >
    < / mx:ComboBox >
    < / mx:Canvas >
    < / mx:TabNavigator >
    < / mx:Form >
    < / mx:Panel >
    < / mx:Application >
    It's my main.mxml. I CountryAssembler to populate the drop-down list country and a DAO class. Have an assembler of city...

    Please advice me on how to populate the drop-down list from the countries selected DB city...
    I am really stuck place... and also have no documentation on Flex data services with Java support...
    Please give me some suggestions on this.

    Thanks in advance,
    Raphael


    Candy,

    Mete is suggesting that, because Country.selectedItem is the object of your country.
    the country_code should be accessible through Country.selectedItem.country_code
    (although I'm personally not much direct link syntax, one fan
    thing I've seen in your messages was to have different conventions for how
    you name it these properties, sometimes you refer to them in the style of country_name
    and then others like countryName... well depending on how you have implemented
    She can be Country.selectedItem.countryCode or Country.selectedItem.country_code).

    Pete

  • It should have read GET_FILE stream with personalized service in the java class

    Hi all

    Once I run service GET_FILE with in the java class of a custom service, how can read the stream with bytes (content).
    I cannot stream content of the DataBinder object or any other. I have not found any method of DataBinder to read the stream of content.

    Please help playback of streams of content of a java class personalized service?

    Thank you in advance.

    Hello

    In a service context, here's how retrieve the content as a stream:

    IdcFileDescriptor d = this.m_fileUtils.createDescriptorForRendition (this.m_binder, FileStoreProvider.R_WEB);
    InputStream in = this.m_fileStore.getInputStream (d, null);

    The binder must contain the information (metadata) to identify the document to be retrieved.

    Roman.

  • Service web apex with POST method

    Hello Apex experts, I am trying to run the web service with the POST method, but not able to make it work (apex 4.2 on apex.oraclecorp.com). Does anyone have example on using the POST method?

    Best

    Renato

    Hello

    Please check the thread below:

    RESRful POST method

    Hope this helps!

    (Note: If you think it answers your question, please mark it as correct answer.) This will help other users in the community)

    Thank you
    Benhamdia

  • call the default Java methods UCM services?

    Hello!

    I have a custom Java method that I call the definition of custom service UCM. This method of Java, one of the tasks is to call standard UCM UPDATE_DOCINFO service to update the metadata for that document. What is the right way to call the AAU services the default JAVA methods?

    Thanks a lot for your help!

    I use the lines below...

    DataBinder binder = new DataBinder();
    String cmd = "";
    this.m_requestImplementor.executeServiceTopLevelSimple(binder, cmd, this.m_userData);
    

    You can add the parameter to the service of "binder".

    binder.putLocal("", "");
    

    This doesn't cause pollution data.

  • Personalized service

    Hello

    I tried to create a personalized service and the StatusMessage as parameter with the value "hello world".

    I use the MSG_PAGE as a model.
    action service-> java method
    I created the piece of code and that you have placed the .java and .class file in the class files.
    I get the error "StatusMessage = authorization token is not valid, it has expired or is not appropriate for the request in progress"
    Please give me a solution as soon as possible.

    Thanks in advance

    Or just change the access level of your personalized service to 32 or better service. By clicking on the 'script' for the service option in the Components Wizard will do the trick.

  • Error at startup of a personal Service on Server R2 2012

    I is currently investigating an issue with a personalized service that is not start properly. When the service starts, I get the following:

    "A timeout was reached (60000 milliseconds) waiting for the * name * service to connect.

    Now some information:

    This application is a tool of 3rd party used for server communication for mobile devices. The application works fine when it runs directly on the server and the features you would expect. (Please not judge how it works, I support just the product :)) However, once I created the service using a Service Manager it will fail to start. I did the following:

    • Confirmed "run the Service under ' credentials
    • Checked and updated "run as" security through SecPol tool strategy
    • Has created the service using alternative methods, in this example SvrAny
    • Updated the path of service to include the connection switches
    • SysInternals to examine the permissions for the service, but if it does not (the service) you can not query

    This particular server is not on the field of customers (which won't help), but I don't see how this could cause the issue as other services that use the same credentials and database information works very well. Event Viewer does not give much more information, and I am struggling to find a logging party tracking tool 3 to study this new.

    Can you give us some suggestions please?

    Personally, I think it's permissions related or possible concern the DB connection according to viewer error events, but he leads me into the wall now.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Would you advice, thank you.

    Hi Hugo,.

    1. what anti-virus software you have installed in the computer?

    2. What is the full error message/code?

    3. the issue occurred after you install Minecraft?

    4. are you able to play Minecraft without any problem?

    5. what happens with Antivirus and Java?

    Windows Update can occur if one or more of the following conditions are met:

    1. the Windows Update database is damaged.

    2. antivirus software is configured to scan the %Windir%\SoftwareDistribution folder.

    3. the service (BITS) Background Intelligent Transfer Service does not receive a content link header.

    4. a required system file is incorrectly registered.

    5. Windows Installer has encountered an error.

    6. the manifesto of component maintenance (EC) is damaged.

    7. the Windows Update service has stopped during the installation.

    8. a version of the file conflict exists with Windows Update agent files.

    Please follow the steps described in the methods to solve the problem:

    Method 1: We will try the steps from the following link and check the result:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058?WA=wsignin1.0

    Method 2:

    To correct the errors that occur when you use Windows Update, install, and run the system update readiness tool. The tool analyzes inconsistencies on your computer and fixes as its current installation.

    You can view the following link to download the system update readiness tool and check:

    System tool update that corrects problems of Windows Update is available for Windows 8, Windows 7, Windows Vista, Windows Server 2008 R2 and Windows Server 2008

    http://support.Microsoft.com/kb/947821

    Details of the event log to find what caused the Antivirus and Java to fail:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope that the information provided is useful.

    For any help related to this problem or any question of Windows, you can still display in the Microsoft Community Forum!

  • ADF Mobile | call web service from Java. non-reflecting values in the AMX page

    Hi all

    I am using JDEv11124 with ADF Mobile extensions39.62.64.

    My use case is as follows.

    1. my application has 2 Pages a. Login home b.

    2. in the user login Page between user name and click on the "submit" button.

    3. on the homepage I displayed the company they joined.

    4. in the "submit" button is clicked, action defined in the support bean method will be called.

    5. by supporting the action bean method, I'll call the method of the Web Service to validate the entered user name, if the entered user name is valid, that I have to post its company name in the home page.

    6. I am moving back from the web service of datacontrol in Home.amx page

    7. calling web services from Java as follows:

    GenericType = result

    (GenericType) AdfmfJavaUtilities.invokeDataControlMethod ("Comp", null, "getCompany",

    pNames, params,

    PTypes);

    System.out.println ("after the call to the service" + result.getAttributeCount ());

    8. in the Java class, I get the response correctly (as the company designating the username entered as 'SOCIETY'), where when I navigate to the home page, I don't see any results for the method return (name of the company that dropped like OutputText in Home.amx)

    Did I miss something for this. or something more that I need to do to make it work?

    Please suggest.

    Thank you

    Vieira

    Hi all

    I was able to achieve this by executing my method in bean support.

    This code is as follows:

    AdfELContext adfELContext = AdfmfJavaUtilities.getAdfELContext ();

    MethodExpression me =.

    () AdfmfJavaUtilities.getMethodExpression

    "#{bindings.retreiveLocationInformation.execute}".

    (, Object.class, Class [] {}) new;

    me. Invoke (adfELContext, new Object [] {});

    Thanks to Luc Bors WebLog Luc Bors Weblog: ADF Mobile: implementation of "Pull to refresh" model

    Kind regards

    Vieira

  • InitialLdapContext fails with Java 6 and 7

    I work with GSSAPI successfully with JAVA 5. With JAVA 6 and 7 of the InitialLdapContext call fails with the following stacktrace:

    > > > KRBError:
    sTime is Fri 14 Jun 13:40:01 CEST 2013 1371210001000
    suSec is 948732
    error code is 7
    Error message is that server not found in the Kerberos database
    Realm is DE.XXX.NET
    sName is ldap/yyy.de.xxx.net
    msgType is 30
    KrbException: Server not found in the Kerberos database (7)
    to sun.security.krb5.KrbTgsRep. < init >(Unknown Source)
    at sun.security.krb5.KrbTgsReq.getReply (unknown Source)
    at sun.security.krb5.KrbTgsReq.sendAndGetCreds (unknown Source)
    at sun.security.krb5.internal.CredentialsUtil.serviceCreds (unknown Source)
    at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds (unknown Source)
    at sun.security.krb5.Credentials.acquireServiceCreds (unknown Source)
    at sun.security.jgss.krb5.Krb5Context.initSecContext (unknown Source)
    at sun.security.jgss.GSSContextImpl.initSecContext (unknown Source)
    at sun.security.jgss.GSSContextImpl.initSecContext (unknown Source)
    at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge (unknown Source)
    at com.sun.jndi.ldap.sasl.LdapSasl.saslBind (unknown Source)
    at com.sun.jndi.ldap.LdapClient.authenticate (unknown Source)
    at com.sun.jndi.ldap.LdapCtx.connect (unknown Source)
    to com.sun.jndi.ldap.LdapCtx. < init >(Unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL (unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs (unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance (unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext (unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx (unknown Source)
    at javax.naming.InitialContext.init (unknown Source)
    to javax.naming.ldap.InitialLdapContext. < init >(Unknown Source)
    in kerberos. UserRoles2.getUserRoles (UserRoles2.java:27)
    in kerberos. Server$ 2.Run(Server.Java:240)
    in kerberos. Server$ 2.Run(Server.Java:1)
    at java.security.AccessController.doPrivileged (Native Method)
    at javax.security.auth.Subject.doAs (unknown Source)
    in kerberos. Server.getRoles (Server.java:233)
    in kerberos. Server.main (Server.Java:95)
    Caused by: KrbException: identifier does not match value expected (906)
    at sun.security.krb5.internal.KDCRep.init (unknown Source)
    at sun.security.krb5.internal.TGSRep.init (unknown Source)
    to sun.security.krb5.internal.TGSRep. < init >(Unknown Source)
    ... more than 29

    Problem research directory: javax.naming.AuthenticationException: GSSAPI [root exception is javax.security.sasl.SaslException: Insider GSS failed [caused by GSSException: no information provided valid identification (level mechanism: server not found in the Kerberos database (7))]]

    Does anyone has an idea what is going wrong at Java 6 or 7?

    The ktab file is created with the tool of a JRE version 7 ktab.

    "c:\Program Files\Java\jre7\bin\ktab.exe" - a [email protected] password my.keytab - n 0 k

    "c:\Program Files\Java\jre7\bin\ktab.exe" - a Service/[email protected] password my.keytab - n 0 k

    Active directory in Windows server 2008

    Don't forget: if I use Java 5, the call to InitialLdapContext works as expected.

    Thanks in advance

    Michael

    The problem is resolved.

    I used an alias in dns for the ldap_url property name. In Java 1.5, the dns alias name has been resolved to the real dns name. It can't even solve it in Java 1.6 and 1.7.

    A real dns name change solved the problem.

  • Personalized service at the University Complutense of MADRID 11g - can't find correct .jar files

    Hello

    I'm migrating some personalized services I created in gr 10, 3 in the new 11 g platform. The services contain some java methods custom that I was upgrading from the previous version by using the server\shared\classes\server.zip package.

    It seems that the structure of the new UCM has somewhat changed - I found a package of 11g to ucm\cs\weblayout\common\idcapplet.jar which seems to contain some of the classes, but not all. Specifically, it doesn't have the packs of intradoc.server or intadoc.provider I need to expand the classes of Service and ServiceHandler.

    Does anyone know where these packages are kept in 11g, or if they even still exist in the new architecture?

    Sorry if I missed some information key, do not hesitate to ask. Thanks in advance!

    Hey,.

    idcserver.jar is indeed the correct file. You can find it at %MIDDLEWARE_HOME%/Oracle_ECM1/ucm/idc/jlib/

    Hope that helps,
    Andy Weaver - Senior Consultant software
    Fishbowl Solutions< http://www.fishbowlsolutions.com?wt.mc_id="L_Oracle_Consulting_amw_OTN_ECM">

  • What should I do if I share an Apple ID with someone else and want to separate?

    What should I do if I share an Apple ID with someone else and want to separate?

    Back in the day, I couldn't create one identifier Apple I was in high school and did not have a credit card so I used Apple ID my father

    Best way is to get up an ID new Apple because using the same Apple ID will share your information with another person with the same account

  • Web services with customer LV

    A typical approach to web services to access the host (a cRIO incorporated, for example) by using a client running in a browser with JavaScript.  All those put in place a LabVIEW client that calls the web services on the host computer?  How this could be done?

    I have a cRIO with a RESTful web service work and I can access it with my browser.  It works very well.  Now, I want to access the same service using a LabVIEW client... Or I could write my own customer by BT if I new how to register the service with .NET, which I did not.  So, it's a fact that LV can be used to create a web service client.  I'm looking to better understand how it can be done.

    The native TCP VIs can perform HTTP requests and call the methods of Service Web LabVIEW (http://zone.ni.com/devzone/cda/epd/p/id/3153 or http://decibel.ni.com/content/docs/DOC-2230).  Using these screws, you can create a customer of LabVIEW.

    Alternatively, you can use an ActiveX control to the browser with the Navigate2 method to call Web Services:

    WSDL files are generally used for Web Services using the SOAP Protocol (Developer Zone Tutorial: LabVIEW using SOAP Web Services call).  I know that it is possible to do the same for a RESTful Web Service (LabVIEW deploy services RESTful web), but I don't have any information on how this is done with a simple Google search in addition, it seems that most of the other public forums has rejected the idea, because you just need to build an HTTP request to call a web method.

Maybe you are looking for

  • My Portege R500 CD/DVD disappeared

    I can't locate the CD/DVD anywere in my laptop.The drive does not appear 'my computer' or 'Equipo' and if I go to 'Control panel' Control Panel does not like a hardware installed.He simply disappear. But if I open in and close it makes noise and seem

  • x1420g memory

    I have a 64-bit x1420g and I want to know if I can improve memory from 4 GB to 8 GB. I can't get a positive answer anywhere. Thank you

  • No matter what game I play, sometimes it will go right on my desktop without reason.

    * Original title: any game I play... There is no problem, the game, but sometimes it will go right on my desktop without reason. Any suggestions?

  • 8900 special edition upgrades

    Just buy the 8900 special edition with tuberculosis and SSD hard drives. I would like to upgrade the GPU GTX 960 to the 970.  Even if the plug indicates 460W power would work, all other sources, including the NVIDIA said less a Psalm of 500W my quest

  • display drivers

    I have the same problem as before. Microsoft support helped with this problem, but now 2 days later, I get an error message as to where the display driver to stop and then recover?